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




serverObject
The map server object's name.
Gets the names of dataframes from a map server object.

Syntax

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

Parameters

serverObject
The map server object's name.

Return Value

An array of dataframe 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.