ManagedWrapper.Log Method
This API supports the infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
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() _
)
'Usage
Dim instance As ManagedWrapper
Dim logEntryName As String
Dim computerName As String
Dim operatorName As String
Dim sourceName As String
Dim sourceID As String
Dim executionID As String
Dim messageText As String
Dim startTime As DateTime
Dim endTime As DateTime
Dim dataCode As Integer
Dim dataBytes As Byte()
instance.Log(logEntryName, computerName, _
operatorName, sourceName, sourceID, _
executionID, messageText, startTime, _
endTime, dataCode, dataBytes)
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
abstract Log :
logEntryName:string *
computerName:string *
operatorName:string *
sourceName:string *
sourceID:string *
executionID:string *
messageText:string *
startTime:DateTime *
endTime:DateTime *
dataCode:int *
dataBytes:byte[] byref -> unit
override Log :
logEntryName:string *
computerName:string *
operatorName:string *
sourceName:string *
sourceID:string *
executionID:string *
messageText:string *
startTime:DateTime *
endTime:DateTime *
dataCode:int *
dataBytes:byte[] byref -> unit
public final function Log(
logEntryName : String,
computerName : String,
operatorName : String,
sourceName : String,
sourceID : String,
executionID : String,
messageText : String,
startTime : DateTime,
endTime : DateTime,
dataCode : int,
dataBytes : byte[]
)
Parameters
- logEntryName
Type: System.String
- computerName
Type: System.String
- operatorName
Type: System.String
- sourceName
Type: System.String
- sourceID
Type: System.String
- executionID
Type: System.String
- messageText
Type: System.String
- startTime
Type: System.DateTime
- endTime
Type: System.DateTime
- dataCode
Type: System.Int32
- dataBytes
Type: array<System.Byte[]%