Partilhar via


MaximumSize Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The MaximumSize property specifies an upper limit for the size of an operating system file containing table and index data, or maintaining a database transaction log.

Syntax

object
.MaximumSize [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMaximumSize(LPLONG pRetVal);
HRESULT SetMaximumSize(long NewValue);

Applies To:

DBFile Object

LogFile Object