Database Database Database Constructors

Definition

Overloads

Database() Database() Database()

Initializes a new instance of Database using the default values.

Database(String) Database(String) Database(String)

Initializes a new instance of Database using a name.

Database(ModelType, Int32) Database(ModelType, Int32)

Initializes a new instance of the Database object using the model type and compatibility level.

Database(String, String) Database(String, String) Database(String, String)

Initializes a new instance of Database using a name and an identifier.

Database() Database() Database()

Initializes a new instance of Database using the default values.

public:
 Database();
public Database ();
Public Sub New ()

Database(String) Database(String) Database(String)

Initializes a new instance of Database using a name.

public:
 Database(System::String ^ name);
public Database (string name);
Public Sub New (name As String)
Parameters
name
String String String

A String that contains the name of the database.

Database(ModelType, Int32) Database(ModelType, Int32)

Initializes a new instance of the Database object using the model type and compatibility level.

public:
 Database(Microsoft::AnalysisServices::ModelType modelType, int compatibilityLevel);
public Database (Microsoft.AnalysisServices.ModelType modelType, int compatibilityLevel);
Parameters
modelType
ModelType ModelType ModelType

Valid values include Default (same as multidimensional), Multidimensional, or Tabular.

compatibilityLevel
Int32 Int32 Int32

Valid values include 1050, 1100, 1103.

Database(String, String) Database(String, String) Database(String, String)

Initializes a new instance of Database using a name and an identifier.

public:
 Database(System::String ^ name, System::String ^ id);
public Database (string name, string id);
Public Sub New (name As String, id As String)
Parameters
name
String String String

A String that contains the name of the database.

id
String String String

A String that contains a unique identifier for the action.

Applies to