Export (0) Print
Expand All

NumberedStoredProcedure.ScriptHeader Method (Boolean)

 

Applies To: SQL Server 2016 Preview

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft