Share via


SPBackupRestoreHistoryObject.RestoreId property

Gets the ID of the SPBackupRestoreConsoleObject that represented the operation, when it was ongoing, if it was a restore operation.

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

Syntax

'Declaration
Public ReadOnly Property RestoreId As Guid
    Get
'Usage
Dim instance As SPBackupRestoreHistoryObject
Dim value As Guid

value = instance.RestoreId
public Guid RestoreId { get; }

Property value

Type: System.Guid
A Guid that represents the ID of a restore operation.

Remarks

If the operation was a backup, then the SelfId property holds its original ID.

See also

Reference

SPBackupRestoreHistoryObject class

SPBackupRestoreHistoryObject members

Microsoft.SharePoint.Administration.Backup namespace