Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 specified database service instance 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 ( _
newParent As SPDatabaseServiceInstance _
)
'Usage
Dim instance As SPDatabase
Dim newParent As SPDatabaseServiceInstance
instance.ChangeDatabaseInstance(newParent)
public void ChangeDatabaseInstance(
SPDatabaseServiceInstance newParent
)
newParent
Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance
An SPDatabaseServiceInstance object that represents the database service instance.
Please sign in to use this experience.
Sign in