Partager via


ErrorSupport.FireWarning Method (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 (in microsoft.sqlserver.dtsmsg.dll)

Syntaxe

'Déclaration
Public Sub FireWarning ( _
    hResult As Integer _
)
public void FireWarning (
    int hResult
)
public:
void FireWarning (
    int hResult
)
public void FireWarning (
    int hResult
)
public function FireWarning (
    hResult : int
)

Paramètres

  • hResult
    The HRESULT of the underlying COM error.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace