Share via


View.TextMode Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property TextMode As Boolean 
    Get 
    Set
'Usage
Dim instance As View 
Dim value As Boolean 

value = instance.TextMode

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the text header is editable as text.If true (default), the text header is editable as text.If false, the text header is not editable.

Implements

ITextObject.TextMode

Examples

Creating, Altering, and Removing Views

See Also

Reference

View Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views

CREATE VIEW (Transact-SQL)