Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AdomdConnection.ChangeDatabase Method (String)

 

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: System.String

The name of the database to which the AdomdConnection should connect.

Exception Condition
System.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.

Return to top
Show:
© 2015 Microsoft