共用方式為


TextHeader 屬性

Gets or sets the header part of the Transact-SQL string that defines the view.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property TextHeader As String
    Get
    Set
'用途
Dim instance As View
Dim value As String

value = instance.TextHeader

instance.TextHeader = value
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public string TextHeader { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
virtual property String^ TextHeader {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
abstract TextHeader : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
override TextHeader : string with get, set
final function get TextHeader () : String
final function set TextHeader (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies the text header from the definition of the view.

實作

ITextObject. . :: . .TextHeader