Share via


SPBackupRestoreInformation.BackupRestoreRoot property

Gets the highest level content component in the backup object.

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

Syntax

'Declaration
Public ReadOnly Property BackupRestoreRoot As SPBackupRestoreObject
    Get
'Usage
Dim instance As SPBackupRestoreInformation
Dim value As SPBackupRestoreObject

value = instance.BackupRestoreRoot
public SPBackupRestoreObject BackupRestoreRoot { get; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
An SPBackupRestoreObject that represents the root object of the tree of possible backup or restore components.

Remarks

In SharePoint Foundation, BackupRestoreRoot always returns the farm.

See also

Reference

SPBackupRestoreInformation class

SPBackupRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace