SPBackupRestoreConfigurationSettings.BackupThreads property

Gets or sets the number of threads used by a backup operation.

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

Syntax

'Declaration
Public Property BackupThreads As Integer
    Get
    Set
'Usage
Dim instance As SPBackupRestoreConfigurationSettings
Dim value As Integer

value = instance.BackupThreads

instance.BackupThreads = value
public int BackupThreads { get; set; }

Property value

Type: System.Int32
The number of threads used. Default is 3.

Exceptions

Exception Condition
ArgumentOutOfRangeException

An attempt is made to assign a value outside of the range 1 through 10.

Remarks

This property must be set to a value from 1 through 10.

See also

Reference

SPBackupRestoreConfigurationSettings class

SPBackupRestoreConfigurationSettings members

Microsoft.SharePoint.Administration.Backup namespace