ParseOptions 생성자 (String, Boolean, DatabaseCompatibilityLevel)
Initializes a new instance of the ParseOptions with the specified batch separator, quoted identifier setting, and database compatibility level.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.Parser
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Public Sub New ( _
batchSeparator As String, _
isQuotedIdentifierSet As Boolean, _
compatibilityLevel As DatabaseCompatibilityLevel _
)
‘사용 방법
Dim batchSeparator As String
Dim isQuotedIdentifierSet As Boolean
Dim compatibilityLevel As DatabaseCompatibilityLevel
Dim instance As New ParseOptions(batchSeparator, _
isQuotedIdentifierSet, compatibilityLevel)
public ParseOptions(
string batchSeparator,
bool isQuotedIdentifierSet,
DatabaseCompatibilityLevel compatibilityLevel
)
public:
ParseOptions(
String^ batchSeparator,
bool isQuotedIdentifierSet,
DatabaseCompatibilityLevel compatibilityLevel
)
new :
batchSeparator:string *
isQuotedIdentifierSet:bool *
compatibilityLevel:DatabaseCompatibilityLevel -> ParseOptions
public function ParseOptions(
batchSeparator : String,
isQuotedIdentifierSet : boolean,
compatibilityLevel : DatabaseCompatibilityLevel
)
매개 변수
- batchSeparator
유형: System.String
The string used to separate a single script into multiple batches.
- isQuotedIdentifierSet
유형: System.Boolean
true to treat quoted strings as identifiers; otherwise false.
- compatibilityLevel
유형: Microsoft.SqlServer.Management.SqlParser.Common.DatabaseCompatibilityLevel
Specifies the database compatibility level.
예외
예외 | 조건 |
---|---|
ArgumentNullException | batchSeparator is nullnull 참조(Visual Basic에서는 Nothing) or an empty string. |