The Initialize method validates the control properties and establishes all database connections.
SQLDistribution Object | SQLMerge Object |
object.Initialize()
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. |
HRESULT Initialize( );
Using the SQL Distribution Control