This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.
This method is not CLS-compliant.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
语法
声明
Public Sub Log ( _
logEntryName As String, _
computerName As String, _
operatorName As String, _
sourceName As String, _
sourceID As String, _
executionID As String, _
messageText As String, _
startTime As DateTime, _
endTime As DateTime, _
dataCode As Integer, _
ByRef dataBytes As Byte() _
)
public void Log (
string logEntryName,
string computerName,
string operatorName,
string sourceName,
string sourceID,
string executionID,
string messageText,
DateTime startTime,
DateTime endTime,
int dataCode,
ref byte[] dataBytes
)
public:
virtual void Log (
String^ logEntryName,
String^ computerName,
String^ operatorName,
String^ sourceName,
String^ sourceID,
String^ executionID,
String^ messageText,
DateTime startTime,
DateTime endTime,
int dataCode,
array<unsigned char>^% dataBytes
) sealed
public final void Log (
String logEntryName,
String computerName,
String operatorName,
String sourceName,
String sourceID,
String executionID,
String messageText,
DateTime startTime,
DateTime endTime,
int dataCode,
/** @ref */ byte[] dataBytes
)
JScript 不支持由引用传递值类型参数。
参数
- logEntryName
- computerName
- operatorName
- sourceName
- sourceID
- executionID
- messageText
- startTime
- endTime
- dataCode
- dataBytes
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
ManagedWrapper Class
ManagedWrapper Members
Microsoft.SqlServer.Dts.Runtime Namespace