TechNet
Export (0) Print
Expand All

TSqlParser.TryParseTriggerModule Method (TextReader, SchemaObjectName, SchemaObjectName)

 

Indicates whether the input script contains a trigger module.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Public Function TryParseTriggerModule (
	input As TextReader,
	<OutAttribute> ByRef triggerName As SchemaObjectName,
	<OutAttribute> ByRef targetName As SchemaObjectName
) As Boolean

Parameters

input
Type: System.IO.TextReader

The script that will be parsed.

triggerName
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName

When this method returns, contains the trigger object name. This parameter is passed uninitialized.

targetName
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName

When this method returns, contains the trigger target object name. This parameter is passed uninitialized.

Return Value

Type: System.Boolean

true if the input script contains a trigger module; false.

Return to top
Show:
© 2016 Microsoft