Export (0) Print
Expand All

TSqlParser.TryParseTriggerModule Method

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)

'Declaration
Public Function TryParseTriggerModule ( _
	input As TextReader, _
	<OutAttribute> ByRef triggerName As SchemaObjectName, _
	<OutAttribute> ByRef targetName As SchemaObjectName _
) As Boolean
'Usage
Dim instance As TSqlParser 
Dim input As TextReader 
Dim triggerName As SchemaObjectName 
Dim targetName As SchemaObjectName 
Dim returnValue As Boolean 

returnValue = instance.TryParseTriggerModule(input, _
	triggerName, targetName)

Parameters

input
Type: 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: Boolean
true if the input script contains a trigger module; false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft