Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AdomdConnection.ChangeDatabase Method (String)


Applies To: SQL Server 2016 Preview

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


Type: System.String

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

Exception Condition

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft