Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TSqlParser.TryParseTriggerModule Method

SQL Server 2012

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 bool TryParseTriggerModule(
	TextReader input,
	out SchemaObjectName triggerName,
	out SchemaObjectName targetName
)

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.