Partager via


SpaceAllocatedOnFiles Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The SpaceAllocatedOnFiles property returns the total disk resource allocated for transaction log implementing files.

Syntaxe

object
.SpaceAllocatedOnFiles(Database) 

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • Database
    A string that identifies a Microsoft SQL Server database by name

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSpaceAllocatedOnFiles(SQLDMO_LPCSTR strDatabase,LPLONG pRetVal);

Notes

The return value of SpaceAllocatedOnFiles represents a number of kilobytes.

Applies To:

TransactionLog Object