Compartilhar via


SPIisWebServiceApplicationProxy.IBackupRestore.AddBackupObjects Method

Adds the web service application proxy and any child objects to the backup/restore job if the web service application proxy supports backup and restore.

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

Syntax

'Declaration
Private Sub AddBackupObjects ( _
    parent As SPBackupRestoreObject _
) Implements IBackupRestore.AddBackupObjects
'Usage
Dim instance As SPIisWebServiceApplicationProxy
Dim parent As SPBackupRestoreObject

CType(instance, IBackupRestore).AddBackupObjects(parent)
void IBackupRestore.AddBackupObjects(
    SPBackupRestoreObject parent
)

Parameters

Implements

IBackupRestore.AddBackupObjects(SPBackupRestoreObject)

Remarks

If the SPIisWebPserviceApplicationProxy does not support backup and restore, it will not be added to parent.

This member is an explicit interface member implementation. It can be used only when the SPIisWebServiceApplicationProxy instance is cast to an IBackupRestore interface.

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

See Also

Reference

SPIisWebServiceApplicationProxy Class

SPIisWebServiceApplicationProxy Members

Microsoft.SharePoint.Administration Namespace