Partilhar via


SPBackupRestoreConsole.GetRoot Method

Gets the root component of the tree of components that are being backed up or restored in the operation that is identified by the specified Guid.

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

Syntax

'Declaration
Public Shared Function GetRoot ( _
    id As Guid _
) As SPBackupRestoreObject
'Usage
Dim id As Guid
Dim returnValue As SPBackupRestoreObject

returnValue = SPBackupRestoreConsole.GetRoot(id)
public static SPBackupRestoreObject GetRoot(
    Guid id
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
A SPBackupRestoreObject that represents the root backup or restore object.

See Also

Reference

SPBackupRestoreConsole Class

SPBackupRestoreConsole Members

Microsoft.SharePoint.Administration.Backup Namespace