Export (0) Print
Expand All

DdlTriggerBase.ScriptHeader Method

Generates a Transact-SQL script that can be used to re-create the database data definition language (DDL) trigger header as specified by the script options.

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 the header can be modified.

Return Value

Type: String
A StringCollection system object value that contains a list of Transact-SQL command batch statements that defines the database DDL trigger header.Returns True if the header information can be modified, orFalse if the header information cannot be modified.

Implements

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

Community Additions

ADD
Show:
© 2014 Microsoft