ESRI.ArcGIS.ADF.Connection.Local
GetDataFramesFromMapServerObject(IMapServer) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.AGS Namespace > AGSServerConnection Class > GetDataFramesFromMapServerObject Method : GetDataFramesFromMapServerObject(IMapServer) Method




serverObject
The map server object.
Gets the dataframes from a map server object

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetDataFramesFromMapServerObject( _
   ByVal serverObject As ESRI.ArcGIS.Carto.IMapServer _
) As String()
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim serverObject As ESRI.ArcGIS.Carto.IMapServer
Dim value() As String
 
value = instance.GetDataFramesFromMapServerObject(serverObject)
C# 
public string[] GetDataFramesFromMapServerObject( 
   ESRI.ArcGIS.Carto.IMapServer serverObject
)

Parameters

serverObject
The map server object.

Return Value

An array of data frame names as strings.

Remarks

An ArcGIS Server map service is based on a map document (usually an .mxd file) that can contain multiple data frames, each with separate sets of layers and symbology. This method retrieves a list of these data frames.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.