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)
Syntax
'Declaration
Public Shared Function RequiresRename ( _
id As Guid _
) As Boolean
'Usage
Dim id As Guid
Dim returnValue As Boolean
returnValue = SPBackupRestoreConsole.RequiresRename(id)
public static bool RequiresRename(
Guid id
)
Parameters
id
Type: System.GuidThe 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.