다음을 통해 공유


SpaceAvailableInMB Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The SpaceAvailableInMB property returns the amount of disk resource allocated and unused in operating system files implementing Microsoft SQL Server database and database transaction log storage.

구문

object
.SpaceAvailableInMB 

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Float, for the Database and TransactionLog objects. The figure is accurate to two decimal places.

Long, for the DBFile object.

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSpaceAvailableInMB(LPLONG pRetVal);

Or

HRESULT GetSpaceAvailableInMB(LPFLOAT pRetVal);

주의

The return value of SpaceAvailableInMB represents a number of megabytes.

Applies To:

Database Object

TransactionLog Object

DBFile Object