Compartilhar via


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

SPBackupRestoreConsoleObject Members

Microsoft.SharePoint.Administration.Backup Namespace