UserDefinedFunction.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


Type: System.Boolean

A Boolean value that specifies whether the text header is read-only or can be modified.

If True, the text header can be modified.

If False, the text header is read-only.

Return Value

Type: System.String

A String value that specifies the text header.

Return to top