TextBody プロパティ

既定値またはルールを定義するテキストを取得または設定します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property TextBody As String
    Get
    Set
'使用
Dim instance As DefaultRuleBase
Dim value As String

value = instance.TextBody

instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
virtual property String^ TextBody {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
override TextBody : string with get, set
final function get TextBody () : String
final function set TextBody (value : String)

プロパティ値

型: System. . :: . .String
既定値またはルールを定義する String 値です。

実装

ITextObject. . :: . .TextBody

説明

これは、Transact-SQL CREATE DEFAULT ステートメント内の constant_expression および Transact-SQL CREATE RULE ステートメント内の condition_expression に相当します。