Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
'Declaration
Public Sub ChangeDatabaseInstance ( _
databaseServiceInstance As String _
)
'Usage
Dim instance As SPDatabase
Dim databaseServiceInstance As String
instance.ChangeDatabaseInstance(databaseServiceInstance)
public void ChangeDatabaseInstance(
string databaseServiceInstance
)
databaseServiceInstance
Type: System.StringThe name of the database service instance.
Exception | Condition |
---|---|
ArgumentNullException | databaseServiceInstance is empty or null . |
This method refreshes the local configuration database cache immediately after updating the specified database service instance.