SPRestoreSettings.RestoreMethod property
取得或設定一個值,指出是否已存在目標上還原是否覆寫現有的資料庫。
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property RestoreMethod As SPRestoreMethodType
Get
Set
'用途
Dim instance As SPRestoreSettings
Dim value As SPRestoreMethodType
value = instance.RestoreMethod
instance.RestoreMethod = value
public SPRestoreMethodType RestoreMethod { get; set; }
Property value
Type: Microsoft.SharePoint.Administration.Backup.SPRestoreMethodType
SPRestoreMethodType ,指出是否還原作業應該覆寫 SharePoint 資料庫存在正中目標值。預設值為None。