Udostępnij za pośrednictwem


ManagedWrapper.Log Method

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.

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() _
)
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 does not support passing value-type arguments by reference.

Parameters

  • logEntryName
  • computerName
  • operatorName
  • sourceName
  • sourceID
  • executionID
  • messageText
  • startTime
  • endTime
  • dataCode
  • dataBytes

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ManagedWrapper Class
ManagedWrapper Members
Microsoft.SqlServer.Dts.Runtime Namespace