PostLogMessage Method

IDTSComponentMetaData100.PostLogMessage Method (String, String, String, DateTime, DateTime, Int32, Byte[])

 

Writes an entry in a package log.

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

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

Parameters

bstrEventName
Type: System.String

The name of the log entry.

bstrSourceName
Type: System.String

The name of the component that creates the log entry.

bstrMessageText
Type: System.String

The message included in the log text.

dateStartTime
Type: System.DateTime

The beginning time of the event.

dateEndTime
Type: System.DateTime

The end time of the event.

lDataCode
Type: System.Int32

The data code of the log entry.

psaDataBytes
Type: System.Byte[]

An array of bytes included with the log entry.

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

Return to top
Show:
© 2016 Microsoft