TSqlParser.TryParseTriggerModule 메서드

Indicates whether the input script contains a trigger module.

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

public bool TryParseTriggerModule(
	TextReader input,
	out SchemaObjectName triggerName,
	out SchemaObjectName targetName
)

매개 변수

input
유형: System.IO.TextReader
The script that will be parsed.
triggerName
유형: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
When this method returns, contains the trigger object name. This parameter is passed uninitialized.
targetName
유형: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
When this method returns, contains the trigger target object name. This parameter is passed uninitialized.

반환 값

유형: System.Boolean
true if the input script contains a trigger module; false.

커뮤니티 추가 항목

추가
표시: