Freigeben über


UserDefinedMessage Constructor

Initializes a new instance of the UserDefinedMessage class.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Überladungsliste

Name Description
UserDefinedMessage ()
Initializes a new instance of the UserDefinedMessage class.
UserDefinedMessage (Server, Int32)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft SQL Server and with the specified ID value.
UserDefinedMessage (Server, Int32, String)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft SQL Server, with the specified ID value and written in the specified language.
UserDefinedMessage (Server, Int32, Int32, Int32, String)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft SQL Server, with the specified ID value, written in the specified language, the specified severity, and actual message text.
UserDefinedMessage (Server, Int32, String, Int32, String)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft SQL Server, with the specified ID value, written in the specified language, the specified severity, and actual message text.
UserDefinedMessage (Server, Int32, Int32, Int32, String, Boolean)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft 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 Microsoft Windows event log.
UserDefinedMessage (Server, Int32, String, Int32, String, Boolean)
Initializes a new instance of the UserDefinedMessage class on the specified instance of Microsoft 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 Microsoft Windows event log.

Siehe auch

Verweis

UserDefinedMessage Class
UserDefinedMessage Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Using Messages
Fehler und Meldungen