次の方法で共有


OnWarning メソッド

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

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

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

構文

'宣言
Sub OnWarning ( _
    pSource As IDTSRuntimeObject100, _
    WarningCode As Integer, _
    SubComponent As String, _
    Description As String, _
    HelpFile As String, _
    HelpContext As Integer, _
    IDOfInterfaceWithError As String _
)
'使用
Dim instance As IDTSEvents100
Dim pSource As IDTSRuntimeObject100
Dim WarningCode As Integer
Dim SubComponent As String
Dim Description As String
Dim HelpFile As String
Dim HelpContext As Integer
Dim IDOfInterfaceWithError As String

instance.OnWarning(pSource, WarningCode, _
    SubComponent, Description, HelpFile, _
    HelpContext, IDOfInterfaceWithError)
void OnWarning(
    IDTSRuntimeObject100 pSource,
    int WarningCode,
    string SubComponent,
    string Description,
    string HelpFile,
    int HelpContext,
    string IDOfInterfaceWithError
)
void OnWarning(
    [InAttribute] IDTSRuntimeObject100^ pSource, 
    [InAttribute] int WarningCode, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] String^ Description, 
    [InAttribute] String^ HelpFile, 
    [InAttribute] int HelpContext, 
    [InAttribute] String^ IDOfInterfaceWithError
)
abstract OnWarning : 
        pSource:IDTSRuntimeObject100 * 
        WarningCode:int * 
        SubComponent:string * 
        Description:string * 
        HelpFile:string * 
        HelpContext:int * 
        IDOfInterfaceWithError:string -> unit 
function OnWarning(
    pSource : IDTSRuntimeObject100, 
    WarningCode : int, 
    SubComponent : String, 
    Description : String, 
    HelpFile : String, 
    HelpContext : int, 
    IDOfInterfaceWithError : String
)

パラメーター