Share via


SPBackupRestoreObject.AddChild method (IBackupRestore)

Adds a child component to the component represented by this SPBackupRestoreObject.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function AddChild ( _
    component As IBackupRestore _
) As SPBackupRestoreObject
'Usage
Dim instance As SPBackupRestoreObject
Dim component As IBackupRestore
Dim returnValue As SPBackupRestoreObject

returnValue = instance.AddChild(component)
public SPBackupRestoreObject AddChild(
    IBackupRestore component
)

Parameters

Return value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
A SPBackupRestoreObject that represents the child component.

See also

Reference

SPBackupRestoreObject class

SPBackupRestoreObject members

AddChild overload

Microsoft.SharePoint.Administration.Backup namespace