Run Method (Replication)

The Run method executes the replication process using the control properties.

Applies To
SQLDistribution Object SQLMerge Object

Syntax

object.Run()

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

Remarks

The control must call Initialize prior to calling this method.

Returns
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.
REPLX_S_VALIDATIONFAILED Validation failure occurred
REPLX_S_CONFLICTSOCCURRED Conflicts occurred while merging changes (SQLMerge only).

Prototype (C/C++)

HRESULT Run( );

See Also

Using the SQL Distribution Control

  


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