Database 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
Database() |
Initializes a new instance of a Tabular Database using the default values. |
Database(String) |
Initializes a new instance of a Tabular Database using a name. |
Database(ModelType, Int32) |
Initializes a new instance of a Tabular Database object using the model type and compatibility level. |
Database(String, String) |
Initializes a new instance of a Tabular Database using a name and an identifier. |
Database()
Initializes a new instance of a Tabular Database using the default values.
public Database ();
Public Sub New ()
Applies to
Database(String)
Database(ModelType, Int32)
Initializes a new instance of a Tabular Database object using the model type and compatibility level.
public Database (Microsoft.AnalysisServices.ModelType modelType, int compatibilityLevel);
new Microsoft.AnalysisServices.Database : Microsoft.AnalysisServices.ModelType * int -> Microsoft.AnalysisServices.Database
Public Sub New (modelType As ModelType, compatibilityLevel As Integer)
Parameters
- modelType
- ModelType
Type of the model.
- compatibilityLevel
- Int32
Compatibility level.
Applies to
Database(String, String)
Initializes a new instance of a Tabular Database using a name and an identifier.
public Database (string name, string id);
new Microsoft.AnalysisServices.Database : string * string -> Microsoft.AnalysisServices.Database
Public Sub New (name As String, id As String)
Parameters
- name
- String
Name of the database.
- id
- String
ID of the database.