SPDatabaseSnapshot members
Represents a database snapshot of a Microsoft SQL Server database.
The SPDatabaseSnapshot type exposes the following members.
Properties
Name | Description | |
---|---|---|
Age | Gets the age of the database snapshot, in hours. | |
ConnectionString | Gets the connection string to the database snapshot of the database. | |
Created | Gets the time that the database snapshot was created. | |
Name | Gets the name of the Microsoft SQL Server database snapshot. |
Top
Methods
Name | Description | |
---|---|---|
Delete() | Deletes the database snapshot permanently from the Microsoft SQL Server database. | |
Delete(Boolean) | Drops the database snapshot from the Microsoft SQL Server database. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Restore() | Overwrites the database with the database snapshot, as long as the class representing the database implements IDatabaseSnapshotRestore, and then deletes all database snapshots. | |
Restore(Boolean) | Overwrites the database with the database snapshot and then deletes all database snapshots, optionally ignoring whether the database class implements IDatabaseSnapshotRestore. | |
ToString | (Inherited from Object.) |
Top