IDTSComponentMetaData90.PostLogMessage Method

パッケージ ログにエントリを書き込みます。

名前空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ: Microsoft.SqlServer.DTSPipelineWrap (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
    ログ エントリの名前です。
  • bstrSourceName
    ログ エントリを作成するコンポーネントの名前です。
  • bstrMessageText
    ログ テキストに含まれるメッセージです。
  • dateStartTime
    イベントの開始時刻です。
  • dateEndTime
    イベントの終了時刻です。
  • lDataCode
    ログ エントリのデータ コードです。
  • psaDataBytes
    ログ エントリに含まれるバイトの配列です。

解説

このメソッドは、パッケージ実行ログへエントリを書き込むために使用されます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

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