SPBackupRestoreObject.MustRename property
Gets a value that indicates whether the component must be renamed when it is restored.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property MustRename As Boolean
Get
'Usage
Dim instance As SPBackupRestoreObject
Dim value As Boolean
value = instance.MustRename
public bool MustRename { get; }
Property value
Type: System.Boolean
true if the component must be renamed; otherwise, false.
Remarks
If the restoration is to a new location, then the component must be renamed. But if the restoration is overwriting an existing deployment of the component, as would typically be the case when the component is being restored from backup due to a crash or data corruption, then it is not renamed.