Share via


MinDistributionRetention 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 MinDistributionRetention property specifies the least number of hours that an image of replicated data is maintained within the distribution database.

Syntax

object
.MinDistributionRetention [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer that specifies a number of hours

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMinDistributionRetention(LPDWORD pRetVal);
HRESULT SetMinDistributionRetention(DWORD NewValue);

Applies To:

DistributionDatabase Object