TSqlObject.TryGetAst-Methode
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
Parameter
- objectAst
Typ: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript%
Generated AST.
Rückgabewert
Typ: System.Boolean
true if AST generated, otherwise; false.
Hinweise
Only top level statement objects can have an AST generated.