Share via


SPRestoreType Enumeration

Specifies whether a site collection or a content component larger than a site collection; that is, a farm, Web service, Web application, or content database; is restored.

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

Syntax

Public Enumeration SPRestoreType

Dim instance As SPRestoreType
public enum SPRestoreType

Members

Member name Description
Catastrophic A component larger than a site collection is restored.
SiteCollection A site collection is restored.

Remarks

If the restoration is the result of a call to Restore, then the restore type is SiteCollection. If it is the result of a call to Run, then the restore type is Catastrophic.

See Also

Reference

Microsoft.SharePoint.Administration.Backup Namespace