ManagedWrapper.Log Method (String, String, String, String, String, String, String, DateTime, DateTime, Int32, Byte )
Applies To: SQL Server 2016 Preview
This API supports the product infrastructure and is not intended to be used directly from your code.
Logs the wrapper.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
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 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 Date,
endTime As Date,
dataCode As Integer,
ByRef dataBytes As Byte()
)
Parameters
logEntryName
Type: System.StringThe log entry name.
computerName
Type: System.StringThe computer name.
operatorName
Type: System.StringThe name of the operator.
sourceName
Type: System.StringThe source name.
sourceID
Type: System.StringThe source identifier.
executionID
Type: System.StringThe execution identifier.
messageText
Type: System.StringThe message text.
startTime
Type: System.DateTimeThe start time.
endTime
Type: System.DateTimeThe end time.
dataCode
Type: System.Int32The data code.
dataBytes
Type: System.Byte[]The data bytes.
Implements
See Also
ManagedWrapper Class
Microsoft.SqlServer.Dts.Runtime Namespace
Return to top