Compartir a través de


ScriptHeader Método

Returns the text header with the option to modify the text.

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

Sintaxis

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

returnValue = instance.ScriptHeader(forAlter)
public string ScriptHeader(
    bool forAlter
)
public:
virtual String^ ScriptHeader(
    bool forAlter
) sealed
abstract ScriptHeader : 
        forAlter:bool -> string 
override ScriptHeader : 
        forAlter:bool -> string 
public final function ScriptHeader(
    forAlter : boolean
) : String

Parámetros

  • forAlter
    Tipo: System. . :: . .Boolean
    A Boolean value that specifies whether the text header is read-only or can be modified.
    If True, the text header can be modified.
    If False, the text header is read-only.

Valor devuelto

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

Implementa

ITextObject. . :: . .ScriptHeader(Boolean)