SPBackupRestoreConsoleObject.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 SPBackupRestoreConsoleObject
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 the operation is a restore.
See also
Reference
SPBackupRestoreConsoleObject class