SqlCeReplication.ReinitializeSubscription Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.


Marks a subscription for reinitialization. After calling this method, an application must call the Synchronize method to download the latest snapshot of the publication to the device.

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


Public Sub ReinitializeSubscription ( _
    uploadBeforeReinitialize As Boolean _
Dim instance As SqlCeReplication
Dim uploadBeforeReinitialize As Boolean

public void ReinitializeSubscription(
    bool uploadBeforeReinitialize
void ReinitializeSubscription(
    bool uploadBeforeReinitialize
member ReinitializeSubscription : 
        uploadBeforeReinitialize:bool -> unit 
public function ReinitializeSubscription(
    uploadBeforeReinitialize : boolean


  • uploadBeforeReinitialize
    Type: System.Boolean
    If True, the changes in the subscription database are uploaded to the Publisher before the snapshot is applied at the Subscriber. The default is False.

See Also


SqlCeReplication Class

System.Data.SqlServerCe Namespace