SPBackupRestoreHistoryObject.SelfId Property

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

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

Syntax

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

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

Property Value

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

Remarks

If the operation was a restore, then the RestoreId property holds its original ID.

See Also

Reference

SPBackupRestoreHistoryObject Class

SPBackupRestoreHistoryObject Members

Microsoft.SharePoint.Administration.Backup Namespace