ESRI.ArcGIS.ADF.Connection
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.

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.