次の方法で共有


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