Freigeben über


UserDefinedMessage-Konstruktor

Initializes a new instance of the UserDefinedMessage class.

Das Element ist überladen. Um vollständige Informationen zu diesem Element zu erhalten, einschließlich Syntax, Verwendung und Beispielen, klicken Sie auf einen Namen in der Überladungsliste.

Überladungsliste

  Name Beschreibung
Öffentliche Methode UserDefinedMessage() () () () Initializes a new instance of the UserDefinedMessage class.
Öffentliche Methode UserDefinedMessage(Server, Int32) Initializes a new instance of the UserDefinedMessage class on the specified instance of SQL Server and with the specified ID value.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode 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.

Zum Anfang