Export (0) Print
Expand All

NumberedStoredProcedure.ScriptHeader Method

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: 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: String
A StringContaining the text header with the option to modify the text.

Implements

ITextObject.ScriptHeader(Boolean)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft