IDTSLogging100.Log Method

Definition

Writes the log entry.

public:
 void Log(System::String ^ EventName, System::String ^ Computer, System::String ^ Operator, System::String ^ SourceName, System::String ^ SourceID, System::String ^ ExecutionID, System::String ^ MessageText, DateTime StartTime, DateTime EndTime, int DataCode, cli::array <System::Byte> ^ % DataBytes);
[System.Runtime.InteropServices.DispId(1610743808)]
public void Log (string EventName, string Computer, string Operator, string SourceName, string SourceID, string ExecutionID, string MessageText, DateTime StartTime, DateTime EndTime, int DataCode, ref byte[] DataBytes);
[<System.Runtime.InteropServices.DispId(1610743808)>]
abstract member Log : string * string * string * string * string * string * string * DateTime * DateTime * int * Byte[] -> unit
Public Sub Log (EventName As String, Computer As String, Operator 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())

Parameters

EventName
String

The event calling the log entry.

Computer
String

The name of local computer.

Operator
String

The user account.

SourceName
String

The object that is the source of the event.

SourceID
String

The identifier of the task.

ExecutionID
String

The execution ID.

MessageText
String

The text to write in the log.

StartTime
DateTime

The start time of the event.

EndTime
DateTime

The end time of the event.

DataCode
Int32

Numeric data field.

DataBytes
Byte[]

A byte array field for binary large objects

Attributes

Applies to