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

ITextObject.ScriptHeader Method

Scripts the text header.

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

string ScriptHeader(
	bool forAlter
)

Parameters

forAlter
Type: Boolean
A Boolean value that specifies whether to create an alter script header. If True, an alter script is generated.If False, a create script is generated.

Return Value

Type: String
A String that specifies the text header.

Community Additions

Show:
© 2015 Microsoft