SPBackupRestoreConfigurationSettings.CurrentIsBackup property

Gets or sets a value that indicates whether the current backup or restore operation is a backup operation or a restore operation.

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

Syntax

'Declaration
Public Property CurrentIsBackup As Boolean
    Get
    Friend Set
'Usage
Dim instance As SPBackupRestoreConfigurationSettings
Dim value As Boolean

value = instance.CurrentIsBackup
public bool CurrentIsBackup { get; internal set; }

Property value

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

See also

Reference

SPBackupRestoreConfigurationSettings class

SPBackupRestoreConfigurationSettings members

Microsoft.SharePoint.Administration.Backup namespace