SPDatabaseSnapshotCollection members
Represents a collection of SPDatabaseSnapshot objects that are Microsoft SQL Server database snapshots. This class also provides methods and properties for the management of the database snapshots.
The SPDatabaseSnapshotCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPDatabaseSnapshotCollection | Initializes a new instance of the SPDatabaseSnapshotCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the total number of database snapshots of the database. | |
CreationInterval | The time, in hours, between automatic database snapshot creations. | |
EnabledManagement | Gets or sets a value that specifies whether the database snapshots for the database are managed by the built-in database snapshot management jobs of SharePoint Foundation. | |
IsSnapshotSupported | Gets a value that specifies whether database snapshots are supported by the current edition of Microsoft SQL Server being used for the database. | |
Item[Int32] | Gets the database snapshot at the specified indexed location in the collection of database snapshots. | |
Item[String] | Gets the first database snapshot in the collection of database snapshots with the specified name. | |
MaximumRetention | Gets or sets the time, in hours, that a database snapshot is saved before it is automatically deleted. | |
Path | Gets or sets the file system path on the database server where the database snapshots are stored. | |
SnapshotLimit | Gets or sets the maximum number of database snapshots that can be saved. | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
CreateSnapshot | Creates a database snapshot of the current database. | |
DeleteSnapshots | Deletes all the database snapshots of the current database. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that can be used to iterate through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) | |
RefreshSnapshots | Queries the database to ensure that the SPDatabaseSnapshotCollection object represents the current list of all database snapshots of the database. | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator that can be used to iterate through the collection. |
Top