LogFiles2 Collection

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The LogFiles2 collection contains LogFile2 objects. These objects reference operating system files that maintain the transaction log records of a Microsoft SQL Server database. The LogFiles2 collection extends the functionality of the LogFiles collection.

Remarks

The LogFiles2 collection extends the functionality of the LogFiles collection in version SQL Server 2000 and later. It also inherits the properties and methods of the LogFiles collection.

The Remove method of the LogFiles2 collection may not be compatible with instances of SQL Server version 7.0 or earlier. For more information about using the LogFiles2 collection in an application that also runs with an instance of SQL Server 7.0, refer to the Remarks section of the Remove method. For more information, see Programming Extended SQL-DMO Objects.

See Also

Reference