Export (0) Print
Expand All

SPDatabase.ChangeDatabaseInstance method (String)

Modifies the database service instance with the specified name for each connection string that is used to access the database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public void ChangeDatabaseInstance(
	string databaseServiceInstance
)

Parameters

databaseServiceInstance
Type: System.String

The name of the database service instance.

ExceptionCondition
ArgumentNullException

databaseServiceInstance is empty or null .

This method refreshes the local configuration database cache immediately after updating the specified database service instance.

Community Additions

ADD
Show:
© 2014 Microsoft