Compartilhar via


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