Condividi tramite


LogFiles Collection

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The LogFiles collection contains LogFile objects that reference operating system files that maintain the transaction log records of a Microsoft SQL Server database.

Modello di oggetti SQL-DMO in cui è visualizzato l'oggetto corrente

Properties

Osservazioni

With the LogFiles collection, you can configure SQL Server transaction log disk usage. For more information about creating operating system files for transaction log use, see LogFile Object.

When using the Item method, the LogFiles collection supports member identification using only ordinal reference syntax. For example:

Set oLogFile = oTransactionLog.LogFiles(1)

[!NOTA]

The LogFiles collection is compatible with instances of SQL Server version 7.0 and later. However, the LogFiles2 collection extends the functionality of the LogFiles collection for use with features that are new in SQL Server 2000.

Vedere anche

Riferimento