ParseResult.BatchCount Property
Gets the number of batches in the supplied script.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public ReadOnly Property BatchCount As Integer
Get
'Usage
Dim instance As ParseResult
Dim value As Integer
value = instance.BatchCount
public int BatchCount { get; }
public:
property int BatchCount {
int get ();
}
member BatchCount : int
function get BatchCount () : int
Property Value
Type: System.Int32
The number of batches in the script.