다음을 통해 공유


TextBody 속성

Gets or sets the text that defines the default or rule.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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
A String value that defines the default or rule.

구현

ITextObject. . :: . .TextBody

주의

This is the equivalent of the constant_expression in the Transact-SQL CREATE DEFAULT statement and the condition_expression in the Transact-SQL CREATE RULE statement.