Terminate Method (Replication)

The Terminate method terminates all database connections.

Applies To
SQLDistribution Object SQLMerge Object

Syntax

object.Terminate()

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

Remarks

The control must call Initialize prior to a subsequent run.

Returns
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.

Prototype (C/C++)

HRESULT Terminate( );

See Also

Using the SQL Distribution Control

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.