Partager via


ScriptHeader méthode

Scripts the text header.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Function ScriptHeader ( _
    forAlter As Boolean _
) As String
'Utilisation
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

Paramètres

  • forAlter
    Type : System. . :: . .Boolean
    A T:System.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.

Valeur de retour

Type : System. . :: . .String