TSqlParser.Create Method
Creates a Transact-SQL parser for the specified version.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Function Create ( _
tsqlParserVersion As SqlVersion, _
initialQuotedIdentifiers As Boolean _
) As TSqlParser
'Usage
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
Parameters
- tsqlParserVersion
Type: Microsoft.SqlServer.TransactSql.ScriptDom.SqlVersion
The parser version to use.
- initialQuotedIdentifiers
Type: System.Boolean
true if the quoted identifiers is set to on; otherwise, false.
Return Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
The Transact-SQL parser for the specified version.