Jaa


CReplicationServer.ServerName Property

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

Gets the name of the Commerce Server Staging (CSS) server.

object ServerName { get; } 

Return Value

A read-only string that contains the name of the server.

Remarks

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

Example

The following example displays the name of the server.

CReplicationServer replicationServer = new CReplicationServer();
  replicationServer.Initialize("");
  Console.WriteLine("The name of the server is : {0}", replicationServer.ServerName);

See Also

Other Resources

CReplicationServer.Get Method

CReplicationServer.Put Method

CReplicationServer Class