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


IMapServer4.GetServerInfo Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServer4.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,
  IMapServerInfo** serverInfo
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR serverInfo [out, retval]
serverInfo is a parameter of type IMapServerInfo

Product Availability

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

See Also

IMapServer4 Interface