SPBackupRestoreHistoryObject.IsBackup property

Gets a value that indicates whether the operation was a backup or a restore.

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

Syntax

'Declaration
Public ReadOnly Property IsBackup As Boolean
    Get
'Usage
Dim instance As SPBackupRestoreHistoryObject
Dim value As Boolean

value = instance.IsBackup
public bool IsBackup { get; }

Property value

Type: System.Boolean
true if the operation was a backup; otherwise, false, in which case it was a restore.

See also

Reference

SPBackupRestoreHistoryObject class

SPBackupRestoreHistoryObject members

Microsoft.SharePoint.Administration.Backup namespace