Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the new and old names of the SPBackupRestoreObject object when the operation is a restore to a new name; otherwise just returns the name.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property DisplayName As String
Get
'Usage
Dim instance As SPBackupRestoreObject
Dim value As String
value = instance.DisplayName
public string DisplayName { get; }
Property value
Type: System.String
A String that represents the new and old name of the component, or just the name if the operation is not a restoration to a new name.
Remarks
If the operation is a restoration of a component to a new name, then DisplayName returns a string of the form "name (previous name: old name)". For example, if a content database named "SPF_Content" is being restored with the name "SPF_Content_Special", then DisplayName returns SPF_Content_Special (previous name: SPF_Content)
If the operation is a backup or an overwrite restoration, DisplayName has the same value as Name.