Compartilhar via


Método TSqlParser.TryParseTriggerModule

Indicates whether the input script contains a trigger module.

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

Sintaxe

'Declaração
Public Function TryParseTriggerModule ( _
    input As TextReader, _
    <OutAttribute> ByRef triggerName As SchemaObjectName, _
    <OutAttribute> ByRef targetName As SchemaObjectName _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

TSqlParser Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom