SPDatabase.AddBackupObjects method

Adds the database and its children to the backup/restore job.

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

Syntax

'Declaration
Public Overridable Sub AddBackupObjects ( _
    parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPDatabase
Dim parent As SPBackupRestoreObject

instance.AddBackupObjects(parent)
public virtual void AddBackupObjects(
    SPBackupRestoreObject parent
)

Parameters

Implements

IBackupRestore.AddBackupObjects(SPBackupRestoreObject)

Remarks

This method is only intended to be callable from catastrophic backup and restore infrastructure code in SharePoint Foundation.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace