MinDistributionRetention Property

SQL-DMO

SQL-DMO

MinDistributionRetention Property

The MinDistributionRetention property specifies the least number of hours that an image of replicated data is maintained within the distribution database.

Applies To
DistributionDatabase Object  
Syntax

object.MinDistributionRetention [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

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);