Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds this SPJobDefinition object to the backup/restore operation.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Sub AddBackupObjects ( _
parent As SPBackupRestoreObject _
)
'Usage
Dim instance As SPJobDefinition
Dim parent As SPBackupRestoreObject
instance.AddBackupObjects(parent)
public void AddBackupObjects(
SPBackupRestoreObject parent
)
parent
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
An SPBackupRestoreObject from the object that holds the items to be backed up or restored.
IBackupRestore.AddBackupObjects(SPBackupRestoreObject)
Exception | Condition |
---|---|
ArgumentNullException | parent is a null reference (Nothing in Visual Basic). |
The AddBackupObjects(SPBackupRestoreObject) method is defined in the IBackupRestore interface.
This method can only be used only by backup timer jobs that support backup/restore and by recurring timer jobs.
Please sign in to use this experience.
Sign in