PostSyncCleanup Property

Gets or sets a value that selectively enables or disables the types of post sync cleanup operations that are performed.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Property PostSyncCleanup As Short
    Get
    Set
'Usage
Dim instance As SqlCeReplication
Dim value As Short

value = instance.PostSyncCleanup

instance.PostSyncCleanup = value
public short PostSyncCleanup { get; set; }
public:
property short PostSyncCleanup {
    short get ();
    void set (short value);
}
member PostSyncCleanup : int16 with get, set
function get PostSyncCleanup () : short
function set PostSyncCleanup (value : short)

Property Value

Type: System. . :: . .Int16
A value that specifies which post sync cleanup operations to perform. The Update Statistics operation (UpdateStats) and the Clean by Retention operation (CleanByRetention) can be selectively enabled or disabled. See the Remarks section for details.

Remarks

The following table indicates the values to which the PostSyncCleanup property can be set.

Property Value

Meaning

0

Both UpdateStats and CleanByRetention are performed.

1

UpdateStats is performed; CleanByRetention is not performed.

2

CleanByRetention is performed; UpdateStats is not performed.

3

Neither UpdateStats nor CleanByRetention is performed.

The initial subscription to Replication may take significant time on devices. You can reduce this time by disabling the Update Statistics operation for the initial download.

See Also

Reference

SqlCeReplication Class

SqlCeReplication Members

System.Data.SqlServerCe Namespace