Background replication using LS

Hi All

Has any one ever tried to initate background replication for a database in LS using “API” calls.

I have managed to call ReplicateWithServer API call however this starts the replication in foreground.

Thanks in Advance

Siddharth