共用方式為


ErrorSupport.FireWarning 方法 (Int32)

Raises a warning identified by the specified HRESULT and allows execution to be cancelled.

命名空間:  Microsoft.SqlServer.Dts.ManagedMsg
組件:  Microsoft.SqlServer.DtsMsg (在 Microsoft.SqlServer.DtsMsg.dll 中)

語法

'宣告
Public Sub FireWarning ( _
    hResult As Integer _
)
'用途
Dim instance As ErrorSupport 
Dim hResult As Integer

instance.FireWarning(hResult)
public void FireWarning(
    int hResult
)
public:
void FireWarning(
    int hResult
)
member FireWarning : 
        hResult:int -> unit
public function FireWarning(
    hResult : int
)

參數

  • hResult
    型別:System.Int32
    The HRESULT of the underlying COM error.

請參閱

參考

ErrorSupport 類別

FireWarning 多載

Microsoft.SqlServer.Dts.ManagedMsg 命名空間