LogFileSize Property

SQL-DMO

SQL-DMO

LogFileSize Property

The LogFileSize property exposes the size of the operating system file used to maintain transaction log records for the Microsoft® SQL Server™ 2000 database referenced.

Applies To
DistributionDatabase Object
Syntax

object.LogFileSize [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

Long integer that represents a number of megabytes

Data Type

Long

Modifiable

Read/write when using the DistributionDatabase object to create a database used by replication for publication distribution. Read-only when the DistributionDatabase object references an existing replication distribution database.

Prototype (C/C++)

HRESULT GetLogFileSize(LPDWORD pRetVal);

HRESULT SetLogFileSize(DWORD NewValue);