The LogFileSize property exposes the size of the operating system file used to maintain transaction log records for the Microsoft® SQL Server™ database referenced.
object.LogFileSize [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Long integer representing a number of megabytes |
Long
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.
HRESULT GetLogFileSize(LPDWORD pRetVal);
HRESULT SetLogFileSize(DWORD NewValue);