Freigeben über


SpaceAllocatedOnFiles Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

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

Syntax

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);

Hinweise

The return value of SpaceAllocatedOnFiles represents a number of kilobytes.

Applies To:

TransactionLog Object