共用方式為


DdlTriggerBase.TextMode 屬性

Gets or sets the Boolean property value that specifies whether the DatabaseDdlTrigger header is editable as text.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Overridable Property TextMode As Boolean 
    Get 
    Set
'用途
Dim instance As DdlTriggerBase 
Dim value As Boolean 

value = instance.TextMode

instance.TextMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public virtual bool TextMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property bool TextMode {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract TextMode : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override TextMode : bool with get, set
function get TextMode () : boolean 
function set TextMode (value : boolean)

屬性值

型別:System.Boolean
A Boolean property value that specifies whether the header is editable as text.If true (default),the header is editable as text.If false, the relevant properties of the DatabaseDdlTrigger object must be set to define the trigger.

實作

ITextObject.TextMode

範例

呼叫方法

請參閱

參考

DdlTriggerBase 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

DDL 觸發程序

CREATE TRIGGER (Transact-SQL)