SPBackupRestoreConsole.RequiresRename method

Gets a value that indicates whether a restore operation's method is creating a new copy of the backed up components (in which case the components must be renamed) or is overwriting an existing version.

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

public static bool RequiresRename(
	Guid id


Type: System.Guid

The Guid of the SPBackupRestoreConsoleObject that represents the restore operation.

Return value

Type: System.Boolean
true if the components must be renamed (because restore method is New); otherwise, false.