Text 属性

Gets or sets the textual description of the user-defined message.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property Text As String
    Get
    Set
用法
Dim instance As UserDefinedMessage
Dim value As String

value = instance.Text

instance.Text = value
[SfcPropertyAttribute]
public string Text { get; set; }
[SfcPropertyAttribute]
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member Text : string with get, set
function get Text () : String
function set Text (value : String)

属性值

类型:System. . :: . .String
A String value that specifies the textual description of the user-defined message.

示例

使用消息