The ReinitializeSubscription method configures a subscription to reapply the initial snapshot and subsequent changes during the next Run operation.
SQLDistribution Object | SQLMerge Object |
object.ReinitializeSubscription()
Return code | Description |
---|---|
S_OK | Method succeeded. |
E_FAIL | General failure occurred. Check error records for detailed information. |
REPLX_E_DEADLOCK | Deadlock occurred. |
REPLX_E_RETRYFAILURE | Failure occurred that may require retrying the last operation. |
HRESULT ReinitializeSubscription();
Using the SQL Distribution Control