TSqlParser.Create 方法
Creates a Transact-SQL parser for the specified version.
命名空間: Microsoft.SqlServer.TransactSql.ScriptDom
組件: Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
語法
'宣告
Public Function Create ( _
tsqlParserVersion As SqlVersion, _
initialQuotedIdentifiers As Boolean _
) As TSqlParser
'用途
Dim instance As TSqlParser
Dim tsqlParserVersion As SqlVersion
Dim initialQuotedIdentifiers As Boolean
Dim returnValue As TSqlParser
returnValue = instance.Create(tsqlParserVersion, _
initialQuotedIdentifiers)
public TSqlParser Create(
SqlVersion tsqlParserVersion,
bool initialQuotedIdentifiers
)
public:
TSqlParser^ Create(
SqlVersion tsqlParserVersion,
bool initialQuotedIdentifiers
)
member Create :
tsqlParserVersion:SqlVersion *
initialQuotedIdentifiers:bool -> TSqlParser
public function Create(
tsqlParserVersion : SqlVersion,
initialQuotedIdentifiers : boolean
) : TSqlParser
參數
- tsqlParserVersion
型別:Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion
The parser version to use.
- initialQuotedIdentifiers
型別:System.Boolean
true if the quoted identifiers is set to on; otherwise, false.
傳回值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
The Transact-SQL parser for the specified version.