DatabaseTaskHost.InitializeConstructor Method (ParserConstructor)
Use this method to initialize the database schema provider-specific parser constructor.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Sub InitializeConstructor ( _
pc As ParserConstructor _
)
protected virtual void InitializeConstructor(
ParserConstructor pc
)
protected:
virtual void InitializeConstructor(
ParserConstructor^ pc
)
abstract InitializeConstructor :
pc:ParserConstructor -> unit
override InitializeConstructor :
pc:ParserConstructor -> unit
protected function InitializeConstructor(
pc : ParserConstructor
)
Parameters
- pc
Type: Microsoft.Data.Schema.SchemaModel.ParserConstructor
Parser constructor.
Remarks
The parser constructor can then use the settings that you initialize in this method when it returns a parser. For example, the SQL Server parser constructor initializes the quoted identifier field so that the parser can determine whether schema object names in Transact-SQL are delimited by using square brackets or quotation marks.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.