Método TSqlObject.TryGetAst
Attempts to generate an AST for the object.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public Function TryGetAst ( _
<OutAttribute> ByRef objectAst As TSqlScript _
) As Boolean
'Uso
Dim instance As TSqlObject
Dim objectAst As TSqlScript
Dim returnValue As Boolean
returnValue = instance.TryGetAst(objectAst)
public bool TryGetAst(
out TSqlScript objectAst
)
public:
bool TryGetAst(
[OutAttribute] TSqlScript^% objectAst
)
member TryGetAst :
objectAst:TSqlScript byref -> bool
public function TryGetAst(
objectAst : TSqlScript
) : boolean
Parâmetros
- objectAst
Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript%
Generated AST.
Valor de retorno
Tipo: System.Boolean
true if AST generated, otherwise; false.
Comentários
Only top level statement objects can have an AST generated.