Terminate Method

Replication Programming

Replication Programming

Terminate Method

The Terminate method terminates the replication process and closes all database connections.

Applies To

SQLDistribution Object

SQLMerge Object

SQLSnapshot Object



Part Description
object Expression that evaluates to an object in the Applies To list.

After using Terminate, the control host must call Initialize before again calling Run.

In Microsoft® Visual Basic®, Terminate is a Sub method and does not return a value.

Prototype (C/C++)

HRESULT Terminate( );

Return code Description
S_OK Method succeeded.
E_FAIL General failure occurred. Check error records for detailed information.
REPLX_E_RETRYFAILURE Failure occurred that might require retrying the last operation.

See Also

Developing Replication Applications Using ActiveX Controls