DefaultRuleBase.TextMode Property

Gets or sets the Boolean property value that specifies whether the Default object or Rule object 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 Property TextMode As Boolean
    Get
    Set
'Usage
Dim instance As DefaultRuleBase
Dim value As Boolean

value = instance.TextMode

instance.TextMode = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool TextMode { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property bool TextMode {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract TextMode : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override TextMode : bool with get, set
final function get TextMode () : boolean
final 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 Default object or Rule object must be set to define the trigger.

Implements

ITextObject.TextMode