Share via


DdlTriggerBase.TextMode Property

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)

Property Value

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

Implements

ITextObject.TextMode

Examples

Calling Methods

See Also

Reference

DdlTriggerBase Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DDL Triggers

CREATE TRIGGER (Transact-SQL)