IDTSComponentMetaData100.PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[]) IDTSComponentMetaData100.PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[]) IDTSComponentMetaData100.PostLogMessage(String, String, String, DateTime, DateTime, Int32, Byte[]) 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);
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 String String

The name of the log entry.

bstrSourceName
String String String

The name of the component that creates the log entry.

bstrMessageText
String String String

The message included in the log text.

dateStartTime
DateTime DateTime DateTime

The beginning time of the event.

dateEndTime
DateTime DateTime DateTime

The end time of the event.

lDataCode
Int32 Int32 Int32

The data code of the log entry.

psaDataBytes

An array of bytes included with the log entry.

Remarks

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

Applies to