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.
備註
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.