This document is archived and information here might be outdated.  Recommended version.


IServerInfo.ServerName Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IServerInfo.ServerName Property

The name of the SOM.

[Visual Basic .NET]
Public Property ServerName As String
[C#]
public string ServerName {get; set;}
[C++]
HRESULT get_ServerName(
  BSTR* ServerName
);
[C++]
HRESULT put_ServerName(
  BSTR ServerName
);
[C++]

Parameters ServerName [out, retval] ServerName is a parameter of type BSTR ServerName [in] ServerName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IServerInfo Interface