Compartir a través de


ScriptHeader Método

Scripts the text header.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Function ScriptHeader ( _
    forAlter As Boolean _
) As String
'Uso
Dim instance As ITextObject
Dim forAlter As Boolean
Dim returnValue As String

returnValue = instance.ScriptHeader(forAlter)
string ScriptHeader(
    bool forAlter
)
String^ ScriptHeader(
    bool forAlter
)
abstract ScriptHeader : 
        forAlter:bool -> string 
function ScriptHeader(
    forAlter : boolean
) : String

Parámetros

  • forAlter
    Tipo: System. . :: . .Boolean
    A Boolean value that specifies whether to create an alter script header.
    If True, an alter script is generated.
    If False, a create script is generated.

Valor devuelto

Tipo: System. . :: . .String
Returns String that specifies the text header.