共用方式為


GetTextHeader 方法

Returns the text header.

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

語法

'宣告
Protected Function GetTextHeader ( _
    forAlter As Boolean _
) As String
'用途
Dim forAlter As Boolean
Dim returnValue As String

returnValue = Me.GetTextHeader(forAlter)
protected string GetTextHeader(
    bool forAlter
)
protected:
String^ GetTextHeader(
    bool forAlter
)
member GetTextHeader : 
        forAlter:bool -> string 
protected function GetTextHeader(
    forAlter : boolean
) : String

參數

  • forAlter
    型別:System. . :: . .Boolean
    A Boolean value that specifies whether the text header is used in the alteration of an object.
    If True, the text header is used in the alteration of an object. Otherwise, False.

傳回值

型別:System. . :: . .String
A String value that specifies the text header.

範例

指令碼