The SpaceAllocatedOnFiles property returns the total disk resource allocated for transaction log implementing files.
object.SpaceAllocatedOnFiles( Database )
object
Expression that evaluates to an object in the Applies To list
Database
String that identifies a Microsoft® SQL Server™ database by name
Long
Read-only
HRESULT GetSpaceAllocatedOnFiles(
SQLDMO_LPCSTR strDatabase,
LPLONG pRetVal);
The return value of SpaceAllocatedOnFiles represents a number of kilobytes.