Freigeben über


GetTextHeader-Methode

Returns the text header.

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

Syntax

'Declaration
Protected Function GetTextHeader ( _
    forAlter As Boolean _
) As String
'Usage
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

Parameter

  • forAlter
    Typ: 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.

Rückgabewert

Typ: System. . :: . .String
A String value that specifies the text header.

Beispiele

Skripterstellung