SPRestoreSettings.RestoreMethod Property
Gets or sets a value indicating whether the restore overwrites the existing database if it already exists on the target.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property RestoreMethod As SPRestoreMethodType
Get
Set
'Usage
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
A SPRestoreMethodType that indicates whether the restore operation should overwrite the SharePoint database if it exists on the target. The default is None.