ParseOptions Class
Represents the options that affect the SQL Server parser operation.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.Parser.ParseOptions
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Class ParseOptions
'Usage
Dim instance As ParseOptions
public class ParseOptions
public ref class ParseOptions
type ParseOptions = class end
public class ParseOptions
The ParseOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ParseOptions() | Initializes a new instance of the ParseOptions class with default settings. | |
ParseOptions(Boolean) | Initializes a new instance of the ParseOptions class with the specified quoted identifier setting. | |
ParseOptions(String) | Initializes a new instance of the ParseOptions class with the specified batch separator setting. | |
ParseOptions(String, Boolean) | Initializes a new instance of the ParseOptions class with the specified batch separator and quoted identifier settings. | |
ParseOptions(String, Boolean, DatabaseCompatibilityLevel) | Initializes a new instance of the ParseOptions with the specified batch separator, quoted identifier setting, and database compatibility level. | |
ParseOptions(String, Boolean, DatabaseCompatibilityLevel, TransactSqlVersion) | Initializes a new instance of the ParseOptions class with the specified batch separator, quoted identifier settings, comapibility level and Transact-SQL version. |
Top
Properties
Name | Description | |
---|---|---|
BatchSeparator | Gets the string used to separate a single script into multiple batches. | |
CompatibilityLevel | Gets a value that indicates the database compatibility level of the SQL Server parser. | |
IsQuotedIdentifierSet | Gets a value that indicates whether quoted strings are treated as identifiers or as strings. | |
TransactSqlVersion | Gets or sets the TransactSqlVersion to be parsed against. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) | |
Equals(ParseOptions) | Returns a value that indicates whether this instance is equal to the specified ParseOptions object. | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.