Share via


CReplicationServer.Version Property

Gets the version number of the Commerce Server Staging (CSS) service that is running on the server.

object Version { get; } 

Return Value

A read-only string that contains the version number of the CSS service that is running on the server.

Remarks

The CReplicationServer.Version property corresponds to the COM property named ReplicationServer.Version.

Example

The following example displays the name and version number of the server.

CReplicationServer replicationServer = new CReplicationServer();
  replicationServer.Initialize("");
  Console.WriteLine("Server is version: {0}", replicationServer.Version);

See Also

Other Resources

CReplicationServer.ServerName Property

CReplicationServer Class