Export (0) Print
Expand All

ParseOptions Constructor (String, Boolean, DatabaseCompatibilityLevel)

Initializes a new instance of the ParseOptions with the specified batch separator, quoted identifier setting, and database compatibility level.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public ParseOptions(
	string batchSeparator,
	bool isQuotedIdentifierSet,
	DatabaseCompatibilityLevel compatibilityLevel
)

Parameters

batchSeparator
Type: String
The string used to separate a single script into multiple batches.
isQuotedIdentifierSet
Type: Boolean
true to treat quoted strings as identifiers; otherwise false.
compatibilityLevel
Type: Microsoft.SqlServer.Management.SqlParser.Common.DatabaseCompatibilityLevel
Specifies the database compatibility level.

ExceptionCondition
ArgumentNullException

batchSeparator is null or an empty string.

Community Additions

ADD
Show:
© 2014 Microsoft