ParseOptions Constructor (String, Boolean)
Initializes a new instance of the ParseOptions class with the specified batch separator and quoted identifier settings.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Sub New ( _
batchSeparator As String, _
isQuotedIdentifierSet As Boolean _
)
'Usage
Dim batchSeparator As String
Dim isQuotedIdentifierSet As Boolean
Dim instance As New ParseOptions(batchSeparator, _
isQuotedIdentifierSet)
public ParseOptions(
string batchSeparator,
bool isQuotedIdentifierSet
)
public:
ParseOptions(
String^ batchSeparator,
bool isQuotedIdentifierSet
)
new :
batchSeparator:string *
isQuotedIdentifierSet:bool -> ParseOptions
public function ParseOptions(
batchSeparator : String,
isQuotedIdentifierSet : boolean
)
Parameters
- batchSeparator
Type: System.String
The string used to separate a single script into multiple batches.
- isQuotedIdentifierSet
Type: System.Boolean
true to treat quoted strings as identifiers; otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | batchSeparator is nulla null reference (Nothing in Visual Basic) or an empty string. |