Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The SpaceAllocatedOnFiles property returns the total disk resource allocated for transaction log implementing files.
구문
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);
주의
The return value of SpaceAllocatedOnFiles represents a number of kilobytes.