Share via


IDTSComponentMetaData90.PostLogMessage Method

Writes an entry in a package log.

네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

구문

‘선언
<DispIdAttribute(110)> _
Sub PostLogMessage ( _
    <InAttribute> bstrEventName As String, _
    <InAttribute> bstrSourceName As String, _
    <InAttribute> bstrMessageText As String, _
    <InAttribute> dateStartTime As DateTime, _
    <InAttribute> dateEndTime As DateTime, _
    <InAttribute> lDataCode As Integer, _
    <InAttribute> ByRef psaDataBytes As Byte() _
)
[DispIdAttribute(110)] 
void PostLogMessage (
    [InAttribute] string bstrEventName,
    [InAttribute] string bstrSourceName,
    [InAttribute] string bstrMessageText,
    [InAttribute] DateTime dateStartTime,
    [InAttribute] DateTime dateEndTime,
    [InAttribute] int lDataCode,
    [InAttribute] ref byte[] psaDataBytes
)
[DispIdAttribute(110)] 
void PostLogMessage (
    [InAttribute] String^ bstrEventName, 
    [InAttribute] String^ bstrSourceName, 
    [InAttribute] String^ bstrMessageText, 
    [InAttribute] DateTime dateStartTime, 
    [InAttribute] DateTime dateEndTime, 
    [InAttribute] int lDataCode, 
    [InAttribute] array<unsigned char>^% psaDataBytes
)
/** @attribute DispIdAttribute(110) */ 
void PostLogMessage (
    /** @attribute InAttribute() */ String bstrEventName, 
    /** @attribute InAttribute() */ String bstrSourceName, 
    /** @attribute InAttribute() */ String bstrMessageText, 
    /** @attribute InAttribute() */ DateTime dateStartTime, 
    /** @attribute InAttribute() */ DateTime dateEndTime, 
    /** @attribute InAttribute() */ int lDataCode, 
    /** @attribute InAttribute() */ /** @ref */ byte[] psaDataBytes
)
JScript는 값 유형 인수를 참조로 전달하는 것을 지원하지 않습니다.

매개 변수

  • bstrEventName
    The name of the log entry.
  • bstrSourceName
    The name of the component that creates the log entry.
  • bstrMessageText
    The message included in the log text.
  • dateStartTime
    The beginning time of the event.
  • dateEndTime
    The end time of the event.
  • lDataCode
    The data code of the log entry.
  • psaDataBytes
    An array of bytes included with the log entry.

주의

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

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDTSComponentMetaData90 Interface
IDTSComponentMetaData90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace