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 Function TryParseTriggerModule ( _
    input As TextReader, _
    <OutAttribute> ByRef triggerName As SchemaObjectName, _
    <OutAttribute> ByRef targetName As SchemaObjectName _
) As Boolean
‘사용 방법
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)
public bool TryParseTriggerModule(
    TextReader input,
    out SchemaObjectName triggerName,
    out SchemaObjectName targetName
)
public:
bool TryParseTriggerModule(
    TextReader^ input, 
    [OutAttribute] SchemaObjectName^% triggerName, 
    [OutAttribute] SchemaObjectName^% targetName
)
member TryParseTriggerModule : 
        input:TextReader * 
        triggerName:SchemaObjectName byref * 
        targetName:SchemaObjectName byref -> bool
public function TryParseTriggerModule(
    input : TextReader, 
    triggerName : SchemaObjectName, 
    targetName : SchemaObjectName
) : boolean

매개 변수

반환 값

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

참고 항목

참조

TSqlParser 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스