SPDatabaseSnapshotRestoreEvent.Snapshot property

Gets the snapshot that from which the database is restored.

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

Syntax

'Declaration
Public ReadOnly Property Snapshot As SPDatabaseSnapshot
    Get
'Usage
Dim instance As SPDatabaseSnapshotRestoreEvent
Dim value As SPDatabaseSnapshot

value = instance.Snapshot
public SPDatabaseSnapshot Snapshot { get; }

Property value

Type: Microsoft.SharePoint.Administration.Backup.SPDatabaseSnapshot
The snapshot that overwrites the database.

See also

Reference

SPDatabaseSnapshotRestoreEvent class

SPDatabaseSnapshotRestoreEvent members

Microsoft.SharePoint.Administration.Backup namespace