Compartilhar via


SPRestoreSettings.RestoreThreads Property

Gets or sets the number of threads to use in the 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 SPRestoreSettings
Dim value As Integer

value = instance.RestoreThreads

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

Property Value

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

Exceptions

Exception Condition
ArgumentException

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

Remarks

RestoreThreads must be set to a number from 1 through 10.

See Also

Reference

SPRestoreSettings Class

SPRestoreSettings Members

Microsoft.SharePoint.Administration.Backup Namespace