SPWebApplication.AddBackupObjects Method
Adds the Web application and its children to the backup/restore job.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPWebApplication
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public void AddBackupObjects(
SPBackupRestoreObject parent
)
Parameters
parent
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectAn SPBackupRestoreObjectobject from the object's parent.
Implements
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
Remarks
This method is only intended to be callable from SharePoint Foundation catastrophic backup and restore infrastructure code.