Share via


ITextObject.ScriptHeader Method

Definition

Overloads

ScriptHeader(ScriptNameObjectBase+ScriptHeaderType)

Generates a script that contains the header of the object (name, parameter list etc.)

ScriptHeader(Boolean)

Generates a script that contains the header of the object (name, parameter list etc.)

ScriptHeader(ScriptNameObjectBase+ScriptHeaderType)

Generates a script that contains the header of the object (name, parameter list etc.)

public string ScriptHeader (Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.ScriptHeaderType scriptHeaderType);
abstract member ScriptHeader : Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.ScriptHeaderType -> string
Public Function ScriptHeader (scriptHeaderType As ScriptNameObjectBase.ScriptHeaderType) As String

Parameters

Returns

Applies to

ScriptHeader(Boolean)

Generates a script that contains the header of the object (name, parameter list etc.)

public string ScriptHeader (bool forAlter);
abstract member ScriptHeader : bool -> string
Public Function ScriptHeader (forAlter As Boolean) As String

Parameters

forAlter
Boolean

Returns

Applies to