ModelLoadOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ModelLoadOptions() |
Constructs an instance of ModelLoadOptions with the default options, which are to use Memory storage and to set LoadAsScriptBackedModel to be false. |
ModelLoadOptions(DacSchemaModelStorageType, Boolean) |
Constructs an instance of ModelLoadOptions with the specified options. |
ModelLoadOptions(DacSchemaModelStorageType, Boolean, Boolean) |
Constructs an instance of ModelLoadOptions with the specified options. |
ModelLoadOptions()
Constructs an instance of ModelLoadOptions with the default options, which are to use Memory storage and to set LoadAsScriptBackedModel to be false.
public ModelLoadOptions ();
Public Sub New ()
Applies to
ModelLoadOptions(DacSchemaModelStorageType, Boolean)
Constructs an instance of ModelLoadOptions with the specified options.
public ModelLoadOptions (Microsoft.SqlServer.Dac.DacSchemaModelStorageType modelStorageType, bool loadAsScriptBackedModel);
new Microsoft.SqlServer.Dac.Model.ModelLoadOptions : Microsoft.SqlServer.Dac.DacSchemaModelStorageType * bool -> Microsoft.SqlServer.Dac.Model.ModelLoadOptions
Public Sub New (modelStorageType As DacSchemaModelStorageType, loadAsScriptBackedModel As Boolean)
Parameters
- modelStorageType
- DacSchemaModelStorageType
Value for the ModelStorageType property
- loadAsScriptBackedModel
- Boolean
Value for the LoadAsScriptBackedModel property
Applies to
ModelLoadOptions(DacSchemaModelStorageType, Boolean, Boolean)
Constructs an instance of ModelLoadOptions with the specified options.
public ModelLoadOptions (Microsoft.SqlServer.Dac.DacSchemaModelStorageType modelStorageType, bool loadAsScriptBackedModel, bool throwOnModelErrors);
new Microsoft.SqlServer.Dac.Model.ModelLoadOptions : Microsoft.SqlServer.Dac.DacSchemaModelStorageType * bool * bool -> Microsoft.SqlServer.Dac.Model.ModelLoadOptions
Public Sub New (modelStorageType As DacSchemaModelStorageType, loadAsScriptBackedModel As Boolean, throwOnModelErrors As Boolean)
Parameters
- modelStorageType
- DacSchemaModelStorageType
Value for the ModelStorageType property
- loadAsScriptBackedModel
- Boolean
Value for the LoadAsScriptBackedModel property
- throwOnModelErrors
- Boolean
Value for the ThrowOnModelErrors property