Share via


SPBackupRestoreSettings.BackupMethod property

Gets or sets the backup method that will be used or was used.

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

Syntax

'Declaration
Public Property BackupMethod As SPBackupMethodType
    Get
    Set
'Usage
Dim instance As SPBackupRestoreSettings
Dim value As SPBackupMethodType

value = instance.BackupMethod

instance.BackupMethod = value
public SPBackupMethodType BackupMethod { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupMethodType
A SPBackupMethodType value that identifies the backup method, either Full or Differential.

Remarks

In the derived class SPBackupSettingsBackupMethod is the backup method that will be used. In SPRestoreSettings it is the backup method that was used during backup.

See also

Reference

SPBackupRestoreSettings class

SPBackupRestoreSettings members

Microsoft.SharePoint.Administration.Backup namespace