共用方式為


IDatabaseSnapshotRestore Members

Include Protected Members
Include Inherited Members

When implemented by a class derived from SPDatabase, provides custom pre-restoration and post-restoration processing when the database is restored from a snapshot.

The IDatabaseSnapshotRestore type exposes the following members.

Methods

  Name Description
Public method OnPostRestore Provides post-event processing after a database (SPDatabase object) is restored from one of its snapshots.
Public method OnPreRestore Provides preparation processing for the restoration of a database (SPDatabase object) from one of its snapshots.

Top

See Also

Reference

IDatabaseSnapshotRestore Interface

Microsoft.SharePoint.Administration.Backup Namespace