Any suggestions? Export (0) Print
Expand All

NumberedStoredProcedure.ScriptHeader Method (Boolean)

 

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

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

public string ScriptHeader(
	bool forAlter
)

Parameters

forAlter
Type: System.Boolean

A Boolean value that specifies whether to create an alter script or a creation script.

If True, an alter script is generated.

If False, a creation script is generated.

Return Value

Type: System.String

A StringContaining the text header with the option to modify the text.

Return to top
Show:
© 2016 Microsoft