SPDatabaseSnapshot Class

Represents a database snapshot of a Microsoft SQL Server database.


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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPDatabaseSnapshot

Database snapshots can be accessed like any database, although they are in read-only mode. However, database snapshots are only available in Microsoft SQL Server Enterprise Edition and Microsoft SQL Server Developer Edition. You can confirm whether database snapshots are supported for a given database by checking the IsSnapshotSupported property of the collection object from the Snapshots property.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.