Partilhar 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