MaxDistributionRetention Property (SQL-DMO)

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

Applies To

DistributionDatabase Object

Syntax

object.MaxDistributionRetention [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer specifying a number of hours

Remarks

By default, replicated data is maintained in the distribution database for 72 hours. Subscriptions that have not retrieved the image within the maximum time are disabled and must be resynchronized.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMaxDistributionRetention(LPDWORD pRetVal);

HRESULT SetMaxDistributionRetention(DWORD NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.