The Terminate method terminates all database connections.
| SQLDistribution Object | SQLMerge Object | 
object.Terminate()
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list | 
The control must call Initialize prior to a subsequent run.
| Return code | Description | 
|---|---|
| S_OK | Method succeeded. | 
| E_FAIL | General failure occurred. Check error records for detailed information. | 
| REPLX_E_RETRYFAILURE | Failure occurred that may require retrying the last operation. | 
HRESULT Terminate( );
Using the SQL Distribution Control