Share via


CReplicationServer.Version Property

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

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