LogFiles2 Collection
后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
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.
Methods
备注
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.