Export (0) Print
Expand All

IDTSComponentMetaData100.PostLogMessage Method

Writes an entry in a package log.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

[DispIdAttribute()]
void PostLogMessage(
	string bstrEventName,
	string bstrSourceName,
	string bstrMessageText,
	DateTime dateStartTime,
	DateTime dateEndTime,
	int lDataCode,
	ref byte[] psaDataBytes
)

Parameters

bstrEventName
Type: String
The name of the log entry.
bstrSourceName
Type: String
The name of the component that creates the log entry.
bstrMessageText
Type: String
The message included in the log text.
dateStartTime
Type: DateTime
The beginning time of the event.
dateEndTime
Type: DateTime
The end time of the event.
lDataCode
Type: Int32
The data code of the log entry.
psaDataBytes
Type: Byte[]
An array of bytes included with the log entry.

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

Community Additions

ADD
Show:
© 2015 Microsoft