AdomdConnection.Open AdomdConnection.Open AdomdConnection.Open Method

Definition

Opens a database connection.

Overloads

Open() Open() Open()

Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.

Open(String) Open(String) Open(String)

Opens a connection with an analytical data source by using the specified path..

Open() Open() Open()

Opens a connection with an analytical data source by using the settings specified in the ConnectionString property of the AdomdConnection.

public:
 virtual void Open();
public void Open ();
Public Sub Open ()

Remarks

The Open method establishes a connection to an analytical data source. If the SessionID property is set to a valid active session ID, the Open method uses the specified session. Otherwise, the Open method requests a new session before connecting.

If the Catalog connection string setting in the ConnectionString property specifies a local cube (.cub) file, a local connection is opened using the local cube file.

Open(String) Open(String) Open(String)

Opens a connection with an analytical data source by using the specified path..

public:
 void Open(System::String ^ path);
public void Open (string path);
Public Sub Open (path As String)
Parameters
path
String String String

The path.

Applies to