The SpaceAvailable property returns the amount of disk resource allocated and unused in operating system files implementing Microsoft® SQL Server™ database and database transaction log storage.
| Database Object | TransactionLog Object |
object.SpaceAvailable
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
The return value of SpaceAvailable represents a number of kilobytes.
Long
Read-only
HRESULT GetSpaceAvailable(LPLONG pRetVal);