IDTSComponentMetaData100.PostLogMessage Method
SQL Server 2008 R2
Writes an entry in a package log.
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.
