UserDefinedMessage.Text プロパティ

ユーザー定義メッセージの説明テキストを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Text As String 
    Get 
    Set
'使用
Dim instance As UserDefinedMessage 
Dim value As String 

value = instance.Text

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

プロパティ値

型: System.String
ユーザー定義メッセージの説明テキストを示す String 値。

使用例

メッセージの使用

関連項目

参照

UserDefinedMessage クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

エラーとメッセージ