DdlTriggerBase.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.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public Overridable Property TextBody As String
Get
Set
'用途
Dim instance As DdlTriggerBase
Dim value As String
value = instance.TextBody
instance.TextBody = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public virtual string TextBody { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
virtual property String^ TextBody {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
abstract TextBody : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
override TextBody : string with get, set
function get TextBody () : String
function set TextBody (value : String)
屬性值
型別:System.String
A String value that specifies the body text.
實作
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間