Share via


DataFileSize Property

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

The DataFileSize property exposes the size of a Microsoft SQL Server database used for replication distribution.

구문

object
.DataFileSize [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer that specifies a file size in megabytes.

Data Type

Long

Modifiable

Read/write if the DistributionDatabase object is used to create a replication distribution database. Read-only if a DistributionDatabase object references an existing SQL Server database.

Prototype (C/C++)

HRESULT GetDataFileSize(LPDWORD pRetVal);
HRESULT SetDataFileSize(DWORD NewValue);

주의

DataFileSize returns the current size of the primary file implementing a SQL Server replication distribution database.

Set DataFileSize to control the initial size of the database primary file created when using the DistributionDatabase object to create a SQL Server database for replication distribution.

Applies To:

DistributionDatabase Object