Initialize Method (Replication)

The Initialize method validates the control properties and establishes all database connections.

Applies To
SQLDistribution Object SQLMerge Object

Syntax

object.Initialize()

Returns
Return code Description
S_OK Method succeeded.
E_FAIL General failure occurred. Check error records for detailed information.
REPLX_E_DBNOTFOUND Specified database does not exist.
REPLX_E_SUBNOTFOUND Specified subscription does not exist.
REPLX_E_SUBEXPIRED Subscription has expired.
REPLX_E_PROFILENOTFOUND Specified profile does not exist.
REPLX_E_RETRYFAILURE Failure occurred that may require retrying the last operation.

Prototype (C/C++)

HRESULT Initialize( );

See Also

Using the SQL Distribution Control

  


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