SPBackupRestoreConsole.GetRestoreRenameList method
Creates, from the specified component and its children, a collection of restorable components that can be renamed when restored.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetRestoreRenameList ( _
id As Guid, _
node As SPBackupRestoreObject _
) As SPBackupRestoreObjectCollection
'Usage
Dim id As Guid
Dim node As SPBackupRestoreObject
Dim returnValue As SPBackupRestoreObjectCollection
returnValue = SPBackupRestoreConsole.GetRestoreRenameList(id, _
node)
public static SPBackupRestoreObjectCollection GetRestoreRenameList(
Guid id,
SPBackupRestoreObject node
)
Parameters
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup or restore operation.
node
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectThe SPBackupRestoreObject that represents the root of the tree of components from which the collection of restorable components that can be renamed is drawn.
Return value
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectCollection
A SPBackupRestoreObjectCollection that represents the components that can be renamed.