Partager via


Méthode ErrorSupport.FireWarning (Int32)

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

Espace de noms :  Microsoft.SqlServer.Dts.ManagedMsg
Assembly :  Microsoft.SqlServer.DtsMsg (en Microsoft.SqlServer.DtsMsg.dll)

Syntaxe

'Déclaration
Public Sub FireWarning ( _
    hResult As Integer _
)
'Utilisation
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
)

Paramètres

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

Voir aussi

Référence

ErrorSupport Classe

Surcharge FireWarning

Espace de noms Microsoft.SqlServer.Dts.ManagedMsg