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
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation.
Return value
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObject
A SPBackupRestoreObject that represents the root backup or restore object.