Export (0) Print
Expand All

AdomdConnection.Open Method

 

Opens a database connection.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

NameDescription
System_CAPS_pubmethodOpen()

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

System_CAPS_pubmethodOpen(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Opens a connection with an analytical data source by using the specified path..

Return to top

AdomdConnection.Open Method ()

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

public void Open()

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.

Return to top

AdomdConnection.Open Method (String)

This API supports the product infrastructure and is not intended to be used directly from your code.

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

public void Open(
	string path
)

Parameters

path
Type: System.String

The path.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft