UserDefinedMessage Members
Include Protected Members
Include Inherited Members
The UserDefinedMessage object represents a user-defined message.
The UserDefinedMessage type exposes the following members.
Constructors
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 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 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 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 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 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. | |
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. |
Top
Methods
Top
Properties
Name | Description | |
---|---|---|
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Inherited from SqlSmoObject.) | |
ID | Gets the ID value that uniquely identifies the user-defined message. | |
IsLogged | Gets or sets the Boolean property value that specifies whether the message is logged to the Microsoft Windows event log. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Inherited from SqlSmoObject.) | |
Language | Gets or sets the language in which the message is written. | |
LanguageID | Gets or sets the ID value that uniquely identifies the language in which the message is written. | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Inherited from SqlSmoObject.) | |
Parent | Gets the Server object that specifies the parent of the UserDefinedMessage object. | |
Properties | Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.) | |
ScalarResult | Gets the scalar result for the referenced object. (Inherited from SqlSmoObject.) | |
Severity | Gets or sets the severity of the user-defined message. | |
State | Gets the state of the referenced object. (Inherited from SmoObjectBase.) | |
Text | Gets or sets the textual description of the user-defined message. | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | (Inherited from SqlSmoObject.) | |
PropertyMetadataChanged | (Inherited from SqlSmoObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAlienObjectDiscover() | (Inherited from SqlSmoObject.) | |
IAlienObjectGetParent() | (Inherited from SqlSmoObject.) | |
IAlienObjectGetProperty(String) | (Inherited from SqlSmoObject.) | |
ISfcPropertyProviderGetPropertySet() | (Inherited from SqlSmoObject.) | |
IAlienObjectGetUrn() | (Inherited from SqlSmoObject.) | |
IAlienObjectResolve(String) | (Inherited from SqlSmoObject.) | |
IAlienObjectSetProperty(Object, Object) | (Inherited from SqlSmoObject.) |
Top