Share via


SPContentDatabase.AddBackupObjects Method

Adds the content database to the backup/restore job.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub AddBackupObjects ( _
    parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPContentDatabase
Dim parent As SPBackupRestoreObject

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

Parameters

Implements

IBackupRestore.AddBackupObjects(SPBackupRestoreObject)

Remarks

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

See Also

Reference

SPContentDatabase Class

SPContentDatabase Members

Microsoft.SharePoint.Administration Namespace