UserDefinedMessage 成員
The UserDefinedMessage object represents a user-defined message.
UserDefinedMessage 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
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. |
頂端
方法
頂端
屬性
名稱 | 描述 | |
---|---|---|
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (繼承自 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. (繼承自 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. (繼承自 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. (繼承自 SqlSmoObject。) | |
ScalarResult | Gets the scalar result for the referenced object. (繼承自 SqlSmoObject。) | |
Severity | Gets or sets the severity of the user-defined message. | |
State | Gets the state of the referenced object. (繼承自 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. (繼承自 SqlSmoObject。) | |
UserData | Gets or sets user-defined data associated with the referenced object. (繼承自 SmoObjectBase。) |
頂端
明確繼承實作
名稱 | 描述 | |
---|---|---|
IAlienObjectDiscover | (繼承自 SqlSmoObject。) | |
IAlienObjectGetParent | (繼承自 SqlSmoObject。) | |
IAlienObjectGetProperty | (繼承自 SqlSmoObject。) | |
ISfcPropertyProviderGetPropertySet | (繼承自 SqlSmoObject。) | |
IAlienObjectGetUrn | (繼承自 SqlSmoObject。) | |
IAlienObjectResolve | (繼承自 SqlSmoObject。) | |
IAlienObjectSetProperty | (繼承自 SqlSmoObject。) |
頂端