This topic has not yet been rated - Rate this topic

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)
void PostLogMessage(
	string bstrEventName,
	string bstrSourceName,
	string bstrMessageText,
	DateTime dateStartTime,
	DateTime dateEndTime,
	int lDataCode,
	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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.