Resolver.GetBlockInformation Method
Gets a language block at the specified location. This is either the top-level statement or a whole batch of Transact-SQL statements.
Namespace: Microsoft.SqlServer.Management.SqlParser.Intellisense
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Shared Function GetBlockInformation ( _
parseResult As ParseResult, _
line As Integer, _
col As Integer _
) As Resolver..::..BlockInformation
'Usage
Dim parseResult As ParseResult
Dim line As Integer
Dim col As Integer
Dim returnValue As Resolver..::..BlockInformation
returnValue = Resolver.GetBlockInformation(parseResult, _
line, col)
public static Resolver..::..BlockInformation GetBlockInformation(
ParseResult parseResult,
int line,
int col
)
public:
static Resolver..::..BlockInformation^ GetBlockInformation(
ParseResult^ parseResult,
int line,
int col
)
static member GetBlockInformation :
parseResult:ParseResult *
line:int *
col:int -> Resolver..::..BlockInformation
public static function GetBlockInformation(
parseResult : ParseResult,
line : int,
col : int
) : Resolver..::..BlockInformation
Parameters
- parseResult
Type: Microsoft.SqlServer.Management.SqlParser.Parser.ParseResult
The ParseResult object that the background parse produced.
- line
Type: System.Int32
The line number.
- col
Type: System.Int32
The column number.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Intellisense.Resolver.BlockInformation
A Resolver.BlockInformation object that represents the language block.