共用方式為


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.

範例

使用訊息