Aracılığıyla paylaş


IDTSComponentMetaData100.PostLogMessage Method

Definition

Writes an entry in a package log.

public:
 void PostLogMessage(System::String ^ bstrEventName, System::String ^ bstrSourceName, System::String ^ bstrMessageText, DateTime dateStartTime, DateTime dateEndTime, int lDataCode, cli::array <System::Byte> ^ % psaDataBytes);
[System.Runtime.InteropServices.DispId(110)]
public void PostLogMessage (string bstrEventName, string bstrSourceName, string bstrMessageText, DateTime dateStartTime, DateTime dateEndTime, int lDataCode, ref byte[] psaDataBytes);
[<System.Runtime.InteropServices.DispId(110)>]
abstract member PostLogMessage : string * string * string * DateTime * DateTime * int * Byte[] -> unit
Public Sub PostLogMessage (bstrEventName As String, bstrSourceName As String, bstrMessageText As String, dateStartTime As DateTime, dateEndTime As DateTime, lDataCode As Integer, ByRef psaDataBytes As Byte())

Parameters

bstrEventName
String

The name of the log entry.

bstrSourceName
String

The name of the component that creates the log entry.

bstrMessageText
String

The message included in the log text.

dateStartTime
DateTime

The beginning time of the event.

dateEndTime
DateTime

The end time of the event.

lDataCode
Int32

The data code of the log entry.

psaDataBytes
Byte[]

An array of bytes included with the log entry.

Attributes

Remarks

This method is used to write entries into the package execution log.

Applies to