Database Constructors

Definition

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)

Initializes a new instance of a Tabular Database using a name.

public Database (string name);
new Microsoft.AnalysisServices.Database : string -> Microsoft.AnalysisServices.Database
Public Sub New (name As String)

Parameters

name
String

Name of the database.

Applies to

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.

Applies to