Partilhar via


Método ScriptNameObjectBase.GetTextHeader

Returns the text header.

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

Sintaxe

'Declaração
Protected Function GetTextHeader ( _
    forAlter As Boolean _
) As String
'Uso
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

Parâmetros

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

Valor de retorno

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

Exemplos

Gerando scripts

Consulte também

Referência

ScriptNameObjectBase Classe

Namespace Microsoft.SqlServer.Management.Smo