Share via


SPRestoreInformation.RestoreMethod property

Gets the restore method of the operation.

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 SPRestoreInformation
Dim value As SPRestoreMethodType

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

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPRestoreMethodType
An SPRestoreMethodType that specifies with the restore is an overwrite or a new deployment.

See also

Reference

SPRestoreInformation class

SPRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace