Share via


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
Public method ParseOptions() Initializes a new instance of the ParseOptions class with default settings.
Public method ParseOptions(Boolean) Initializes a new instance of the ParseOptions class with the specified quoted identifier setting.
Public method ParseOptions(String) Initializes a new instance of the ParseOptions class with the specified batch separator setting.
Public method ParseOptions(String, Boolean) Initializes a new instance of the ParseOptions class with the specified batch separator and quoted identifier settings.
Public method ParseOptions(String, Boolean, DatabaseCompatibilityLevel) Initializes a new instance of the ParseOptions with the specified batch separator, quoted identifier setting, and database compatibility level.
Public method 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
Public property BatchSeparator Gets the string used to separate a single script into multiple batches.
Public property CompatibilityLevel Gets a value that indicates the database compatibility level of the SQL Server parser.
Public property IsQuotedIdentifierSet Gets a value that indicates whether quoted strings are treated as identifiers or as strings.
Public property TransactSqlVersion Gets or sets the TransactSqlVersion to be parsed against.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Public method Equals(ParseOptions) Returns a value that indicates whether this instance is equal to the specified ParseOptions object.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.