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


IMapServer3.GetServerInfo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServer3 Interface > IMapServer3.GetServerInfo Method
ArcGIS Developer Help

IMapServer3.GetServerInfo Method

Returns information about a map (data frame).

[Visual Basic .NET]
Public Function GetServerInfo ( _
    ByVal MapName As String _
) As IMapServerInfo
[C#]
public IMapServerInfo GetServerInfo (
    string MapName
);
[C++]
HRESULT GetServerInfo(
  BSTR MapName
);
[C++]
Parameters
MapName [in]

MapName is a parameter of type BSTR

Product Availability

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

Remarks

This method returns a MapServerInfo object. Using IMapServerInfo3 you can retrieve information regarding the present state of the MapServer object. If two (or more) data frames have the same name, Map Server adds a distinctive number at the end of the second name. E.g. Layers and Layers2.

When total number of domain codes from all layers and tables exceeds MaxDomainCodeCount, domains are dropped from field level. It does not affect DCOM clients.

See Also

IMapServer3 Interface