TransactionLog Object (SQL-DMO)

The TransactionLog object exposes the attributes of the transaction log of a Microsoft® SQL Server™ database.

Remarks

A SQL Server transaction log maintains a record of modifications to the operating system files containing the data of a SQL Server database. The transaction log provides data-recovery assistance in the event of system failure and a SQL Server database has at least one operating system file that stores transaction log records. A transaction log can be written to more than one operating system file. Each SQL Server database maintains its own transaction log and the operating system file or files that store log records cannot be shared with another database.

With the TransactionLog object, you can:

Methods

Truncate Method

Properties
CreateDate Property SpaceAllocatedOnFiles Property
LastBackup Property SpaceAvailable Property
Size Property SpaceAvailableInMB Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.