Метод ManagedWrapper.Log
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Logs the wrapper.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в 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() _
)
'Применение
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[]
)
Параметры
- logEntryName
Тип: System.String
The log entry name.
- computerName
Тип: System.String
The computer name.
- operatorName
Тип: System.String
The name of the operator.
- sourceName
Тип: System.String
The source name.
- sourceID
Тип: System.String
The source identifier.
- executionID
Тип: System.String
The execution identifier.
- messageText
Тип: System.String
The message text.
- startTime
Тип: System.DateTime
The start time.
- endTime
Тип: System.DateTime
The end time.
- dataCode
Тип: System.Int32
The data code.
- dataBytes
Тип: array<System.Byte[]%
The data bytes.