共用方式為


IDatabaseSnapshotRestore Interface

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

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface IDatabaseSnapshotRestore
'Usage
Dim instance As IDatabaseSnapshotRestore
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface IDatabaseSnapshotRestore

See Also

Reference

IDatabaseSnapshotRestore Members

Microsoft.SharePoint.Administration.Backup Namespace