次の方法で共有


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