Partilhar via


CReplicationServer.Start Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Starts the Commerce Server Staging (CSS) service on the server.

void Start()

Remarks

You must have CSS administrator permissions to call this method.

To start the CSS service on a server other than the local server, use the Initialize method to set the server name, call the Start method to start CSS, and then call the Initialize method again before you use the CReplicationServer object.

The CReplicationServer.Start method corresponds to the COM method named ReplicationServer.Start.

Example

The following example starts the local CSS service.

CReplicationServer replicationServer = new CReplicationServer();
  replicationServer.Initialize("");
  //...
  replicationServer.Start();

See Also

Other Resources

Managing the CSS Service

How to Pause, Continue, Start, and Stop the CSS Service

CReplicationServer Class