次の方法で共有


MaxDistributionRetention Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

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

構文

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

説明

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.