Udostępnij za pośrednictwem


ScriptNameObjectBase.GetTextHeader Method

Returns the text header.

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

Syntax

'Deklaracja
Protected Function GetTextHeader ( _
    forAlter As Boolean _
) As String
protected string GetTextHeader (
    bool forAlter
)
protected:
String^ GetTextHeader (
    bool forAlter
)
protected String GetTextHeader (
    boolean forAlter
)
protected function GetTextHeader (
    forAlter : boolean
) : String

Parameters

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

Return Value

A String value that specifies the text header.

Example

Scripting

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.