Share via


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.

[SECURITY CRITICAL]

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)

Syntax

'Declaration
Public Sub ReinitializeSubscription ( _
    uploadBeforeReinitialize As Boolean _
)
'Usage
Dim instance As SqlCeReplication
Dim uploadBeforeReinitialize As Boolean

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

Parameters

  • 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

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace