Partager via


Constructeur UserDefinedMessage

Inclure les membres protégés
Inclure les membres hérités

Initializes a new instance of the UserDefinedMessage class.

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique UserDefinedMessage() Initializes a new instance of the UserDefinedMessage class.
Méthode publique UserDefinedMessage(Server, Int32) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server and with the specified ID value.
Méthode publique UserDefinedMessage(Server, Int32, String) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server, with the specified ID value and written in the specified language.
Méthode publique UserDefinedMessage(Server, Int32, Int32, Int32, String) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server, with the specified ID value, written in the specified language, the specified severity, and actual message text.
Méthode publique UserDefinedMessage(Server, Int32, String, Int32, String) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server, with the specified ID value, written in the specified language, the specified severity, and actual message text.
Méthode publique UserDefinedMessage(Server, Int32, Int32, Int32, String, Boolean) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server, with the specified ID value, written in the specified language, the specified severity and actual message text, and the option to specify whether the message is logged to the Windows event log.
Méthode publique UserDefinedMessage(Server, Int32, String, Int32, String, Boolean) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server, with the specified ID value, written in the specified language, the specified severity and actual message text, and the option to specify whether the message is logged to the Windows event log.

Haut de la page

Voir aussi

Référence

UserDefinedMessage Classe

Espace de noms Microsoft.SqlServer.Management.Smo