Freigeben über


DdlTriggerBase.TextMode-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Overridable Property TextMode As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: 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.

Implementiert

ITextObject.TextMode

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

DdlTriggerBase Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

DDL-Trigger

CREATE TRIGGER (Transact-SQL)