ParseOptions Constructor (String)
Initializes a new instance of the ParseOptions class with the specified batch separator setting.
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 _
)
'Usage
Dim batchSeparator As String
Dim instance As New ParseOptions(batchSeparator)
public ParseOptions(
string batchSeparator
)
public:
ParseOptions(
String^ batchSeparator
)
new :
batchSeparator:string -> ParseOptions
public function ParseOptions(
batchSeparator : String
)
Parameters
- batchSeparator
Type: System.String
The string used to separate a single script into multiple batches.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | batchSeparator is nulla null reference (Nothing in Visual Basic) or an empty string. |