Share via


SPBackupRestoreSettings.IsBackup property

Gets a value that indicates whether the operation is 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 SPBackupRestoreSettings
Dim value As Boolean

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

Property value

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

See also

Reference

SPBackupRestoreSettings class

SPBackupRestoreSettings members

Microsoft.SharePoint.Administration.Backup namespace