TextBody 属性

Gets or sets the body text that is used in the definition of the database data definition language (DDL) trigger.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property TextBody As String
    Get
    Set
用法
Dim instance As DdlTriggerBase
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 specifies the body text.

实现

ITextObject. . :: . .TextBody

示例

调用方法