SPDatabaseSnapshotCollection.CreationInterval property
時間 (小時,自動資料庫快照集之建立)。
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property CreationInterval As Short
Get
Set
'用途
Dim instance As SPDatabaseSnapshotCollection
Dim value As Short
value = instance.CreationInterval
instance.CreationInterval = value
public short CreationInterval { get; set; }
Property value
Type: System.Int16
資料庫快照集之間的時數。
備註
如果EnabledManagementfalse,則會由內建資料庫快照集管理系統的SharePoint Foundation忽略CreationInterval屬性。
您必須先呼叫Update()變更儲存至這個屬性。
Examples
在下列範例中, db是SPDatabase物件。
db.Snapshots.RefreshSnapshots();db.Snapshots.CreationInterval = 3; db.Update();
請參閱
參照
SPDatabaseSnapshotCollection class