SPBackupRestoreConfigurationSettings.RestoreThreads Property
Gets or sets the number of threads used by a restoration operation.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property RestoreThreads As Integer
Get
Set
'Usage
Dim instance As SPBackupRestoreConfigurationSettings
Dim value As Integer
value = instance.RestoreThreads
instance.RestoreThreads = value
public int RestoreThreads { 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