Partager 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

Public ReadOnly Property RestoreId As Guid
    Get

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