SPContentDatabase.Update method
Saves the state of the content database and propagates changes in it to all the computers in the server farm, after first verifying that the content database is attached to the farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Sub Update
'Usage
Dim instance As SPContentDatabase
instance.Update()
public override void Update()
Exceptions
Exception | Condition |
---|---|
NotSupportedException | IsAttachedToFarm is false. |
Remarks
This override will call the base Update(), unless the content database is unattached, in which case it throws an exception.