SPDatabaseSnapshot class
代表Microsoft SQL Server資料庫的資料庫快照集。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.Backup.SPDatabaseSnapshot
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPDatabaseSnapshot
'用途
Dim instance As SPDatabaseSnapshot
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPDatabaseSnapshot
備註
資料庫快照集可以存取任何資料庫,例如,雖然其處於唯讀模式。不過,資料庫快照集都只可以在Microsoft SQL Server Enterprise Edition 與Microsoft SQL Server Developer Edition。您可以確認是否指定資料庫所支援資料庫快照集的檢查從Snapshots屬性的集合物件的IsSnapshotSupported屬性。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.