Share via


CReplicationServer.ServerName Property

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