Share via


SPBackupRestoreConsoleObject.RestoreMethod property

When the operation is a restore, gets a value indicating whether the restoration creates a new tree of components or overwrites an existing one.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property RestoreMethod As SPRestoreMethodType
    Get
'Usage
Dim instance As SPBackupRestoreConsoleObject
Dim value As SPRestoreMethodType

value = instance.RestoreMethod
public SPRestoreMethodType RestoreMethod { get; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPRestoreMethodType
A SPRestoreMethodType that specifies the restoration method.

See also

Reference

SPBackupRestoreConsoleObject class

SPBackupRestoreConsoleObject members

Microsoft.SharePoint.Administration.Backup namespace