Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Attempts to generate an AST for the object.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public Function TryGetAst ( _
<OutAttribute> ByRef objectAst As TSqlScript _
) As Boolean
'Usage
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
Parameters
- objectAst
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript%
Generated AST.
Return Value
Type: System.Boolean
true if AST generated, otherwise; false.
Remarks
Only top level statement objects can have an AST generated.