Map Service GetDefaultMapName method

Gets the name of the active map (data frame) in a map service.

 

GetDefaultMapName()

 

Return Value

 

A string representing name of the active map in the map service.

 

Remarks

 

A map service can contain many maps (data frames). To discover the number of maps and their respective names, use the GetMapCount and GetMapName methods, respectively.

 

Examples

C#

VB.NET

Java