Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
Show:
© 2015 Microsoft