DatabaseTaskHost Constructor (DatabaseSchemaProvider, ErrorManager, Boolean, String)
Initializes a new instance of the DatabaseTaskHost class.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Sub New ( _
databaseSchemaProvider As DatabaseSchemaProvider, _
errors As ErrorManager, _
ideMode As Boolean, _
modelFileName As String _
)
protected DatabaseTaskHost(
DatabaseSchemaProvider databaseSchemaProvider,
ErrorManager errors,
bool ideMode,
string modelFileName
)
protected:
DatabaseTaskHost(
DatabaseSchemaProvider^ databaseSchemaProvider,
ErrorManager^ errors,
bool ideMode,
String^ modelFileName
)
new :
databaseSchemaProvider:DatabaseSchemaProvider *
errors:ErrorManager *
ideMode:bool *
modelFileName:string -> DatabaseTaskHost
protected function DatabaseTaskHost(
databaseSchemaProvider : DatabaseSchemaProvider,
errors : ErrorManager,
ideMode : boolean,
modelFileName : String
)
Parameters
- databaseSchemaProvider
Type: Microsoft.Data.Schema.DatabaseSchemaProvider
The database schema provider.
- errors
Type: Microsoft.Data.Schema.ErrorManager
An error manager that is used to return any errors that occur during initialization.
- ideMode
Type: System.Boolean
Indicates whether execution occurs in Visual Studio. Use of a default property value, when not in "IDE mode", will cause an error to occur.
- modelFileName
Type: System.String
The name of the model file. This is passed along to the data schema model constructor.
.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.