Compartir a través de


MaxDistributionRetention Property

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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

Sintaxis

object
.MaxDistributionRetention [= 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 GetMaxDistributionRetention(LPDWORD pRetVal);
HRESULT SetMaxDistributionRetention(DWORD NewValue);

Notas

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.

Applies To:

DistributionDatabase Object