Returns information about a map (data frame).
[Visual Basic 6.0] Function GetServerInfo(
ByVal MapName As String _
) As IMapServerInfo
[Visual Basic .NET] Public Function GetServerInfo ( _ ByVal MapName As String _ ) As IMapServerInfo
[C#] public IMapServerInfo GetServerInfo ( string MapName );
[Java] public IMapServerInfo getServerInfo ( String MapName ) throws IOException, AutomationException
[C++] HRESULT GetServerInfo( BSTR MapName, IMapServerInfo** serverInfo );
Parameters
MapName [in]
MapName is a parameter of type BSTR
serverInfo [out, retval]
serverInfo is a parameter of type IMapServerInfo
This method returns a MapServerInfo object. Using IMapServerInfo2 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.