Run Method (Replication)
Applications call the Run method to invoke merge replication synchronization with the SQL Server Publisher.
Syntax
object.Run()
Applies To
SQL Server 2005 Compact Edition Replication object
Prototype
HRESULT Run();
Returns
Return code | Description |
---|---|
S_OK |
Method succeeded. |
Any FAILED(HRESULT) |
See the SSCEErrors collection for detailed error information. |
Remarks
The application must call the Initialize method before calling the Run method and the Terminate method after calling the Run method. Specifically, the application must call the Initialize, Run, and Terminate methods in succession.