SPFarm.AddBackupObjects method
Adds the server farm and its children to the backup/restore operation.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPFarm
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public void AddBackupObjects(
SPBackupRestoreObject parent
)
Parameters
parent
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectAn SPBackupRestoreObject from the object that holds the items to be backed up or restored.
Implements
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
Remarks
This method is only intended to be callable from the catastrophic backup and restore infrastructure code in SharePoint Foundation.