次の方法で共有


IDTSEvents90.OnWarning Method

このメソッドは、SQL Server 2005 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

詳細については、「IDTSEvents」を参照してください。

名前空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ: Microsoft.SqlServer.DTSRuntimeWrap (microsoft.sqlserver.dtsruntimewrap.dll 内)

構文

'宣言
<DispIdAttribute(4)> _
Sub OnWarning ( _
    <InAttribute> pSource As IDTSRuntimeObject90, _
    <InAttribute> WarningCode As Integer, _
    <InAttribute> SubComponent As String, _
    <InAttribute> Description As String, _
    <InAttribute> HelpFile As String, _
    <InAttribute> HelpContext As Integer, _
    <InAttribute> IDOfInterfaceWithError As String _
)
[DispIdAttribute(4)] 
void OnWarning (
    [InAttribute] IDTSRuntimeObject90 pSource,
    [InAttribute] int WarningCode,
    [InAttribute] string SubComponent,
    [InAttribute] string Description,
    [InAttribute] string HelpFile,
    [InAttribute] int HelpContext,
    [InAttribute] string IDOfInterfaceWithError
)
[DispIdAttribute(4)] 
void OnWarning (
    [InAttribute] IDTSRuntimeObject90^ pSource, 
    [InAttribute] int WarningCode, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] String^ Description, 
    [InAttribute] String^ HelpFile, 
    [InAttribute] int HelpContext, 
    [InAttribute] String^ IDOfInterfaceWithError
)
/** @attribute DispIdAttribute(4) */ 
void OnWarning (
    /** @attribute InAttribute() */ IDTSRuntimeObject90 pSource, 
    /** @attribute InAttribute() */ int WarningCode, 
    /** @attribute InAttribute() */ String SubComponent, 
    /** @attribute InAttribute() */ String Description, 
    /** @attribute InAttribute() */ String HelpFile, 
    /** @attribute InAttribute() */ int HelpContext, 
    /** @attribute InAttribute() */ String IDOfInterfaceWithError
)
DispIdAttribute(4) 
function OnWarning (
    pSource : IDTSRuntimeObject90, 
    WarningCode : int, 
    SubComponent : String, 
    Description : String, 
    HelpFile : String, 
    HelpContext : int, 
    IDOfInterfaceWithError : String
)

パラメータ

  • pSource
  • WarningCode
  • SubComponent
  • Description
  • HelpFile
  • HelpContext
  • IDOfInterfaceWithError

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

IDTSEvents90 Interface
IDTSEvents90 Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace