Jaa


UserDefinedMessage Constructor

Initializes a new instance of the UserDefinedMessage class.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

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.

See Also

Reference

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

Other Resources

Using Messages
Errors and Messages