SpaceAllocatedOnFiles Property (SQL-DMO)

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

Applies To

TransactionLog Object

Syntax

object.SpaceAllocatedOnFiles( Database )

Part Description
object Expression that evaluates to an object in the Applies To list
Database String identifying a Microsoft® SQL Server™ database by name

Remarks

The return value of SpaceAllocatedOnFiles represents a number of megabytes.

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSpaceAllocatedOnFiles(
SQLDMO_LPCSTR strDatabase,
LPLONG pRetVal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.