Export (0) Print
Expand All

SPDatabaseSnapshot Members

Represents a database snapshot of a Microsoft SQL Server database.

The SPDatabaseSnapshot type exposes the following members.

  Name Description
Public property Age Gets the age of the database snapshot, in hours.
Public property ConnectionString Gets the connection string to the database snapshot of the database.
Public property Created Gets the time that the database snapshot was created.
Public property Name Gets the name of the Microsoft SQL Server database snapshot.
Top

  Name Description
Public method Delete() Deletes the database snapshot permanently from the Microsoft SQL Server database.
Public method Delete(Boolean) Drops the database snapshot from the Microsoft SQL Server database.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Restore() Overwrites the database with the database snapshot, as long as the class representing the database implements IDatabaseSnapshotRestore, and then deletes all database snapshots.
Public method Restore(Boolean) Overwrites the database with the database snapshot and then deletes all database snapshots, optionally ignoring whether the database class implements IDatabaseSnapshotRestore.
Public method ToString (Inherited from Object.)
Top
Show:
© 2015 Microsoft