Export (0) Print
Expand All

AdomdConnection.ChangeDatabase Method

Changes the current database of the open AdomdConnection.

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

public void ChangeDatabase(
	string database
)

Parameters

database
Type: String
The name of the database to which the AdomdConnection should connect.

Implements

IDbConnectionChangeDatabase(String)

ExceptionCondition
InvalidOperationException

The database parameter is set to a null value, an empty string, or a string containing only spaces.

The AdomdConnection is not connected to a valid session.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft