共用方式為


View.TextMode 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property TextMode As Boolean 
    Get 
    Set
'用途
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)

屬性值

型別: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.

實作

ITextObject.TextMode

範例

建立、改變和移除檢視

請參閱

參考

View 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作檢視

CREATE VIEW (Transact-SQL)