ESRI.ArcGIS.ADF.Connection
GetDataFramesFromMapServerObject(IMapServer) Method
See Also  Send comments on this topic.
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 IMapServer _
) As String()
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim serverObject As IMapServer
Dim value() As String
 
value = instance.GetDataFramesFromMapServerObject(serverObject)
C# 
public string[] GetDataFramesFromMapServerObject( 
   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.

See Also

© 2010 All Rights Reserved.