SPRestoreSettings.RestoreThreads property
取得或設定要用於還原作業的執行緒數目。
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property RestoreThreads As Integer
Get
Set
'用途
Dim instance As SPRestoreSettings
Dim value As Integer
value = instance.RestoreThreads
instance.RestoreThreads = value
public int RestoreThreads { get; set; }
Property value
Type: System.Int32
執行緒數目。預設值為 3。
Exceptions
Exception | Condition |
---|---|
ArgumentException | 嘗試指派範圍 1 到 10 以外的值。 |
備註
RestoreThreads必須設定為 [數字,從 1 到 10。