Returns the total amount of storage space this database has allocated on the specified device.
lAllocated = Database.SpaceAllocatedOnDevice ( [DeviceName :=] idDevice )
HRESULT pDatabase->GetSpaceAllocatedOnDevice (
SQLOLE_LPCSTR idDevice,
LPLONG plAllocated );
| Element | Type | Description |
|---|
| lAllocated | Long | Total allocated storage space in megabytes |
| idDevice | Identifier | Device name |
This is an indexed property.