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




serverObject
The map server object's name.
forOneDataFrameReturnNameAsDefault
If true and only one data frame is in the map, returns "(default)".
Gets the dataframes from a map server object

Syntax

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

Parameters

serverObject
The map server object's name.
forOneDataFrameReturnNameAsDefault
If true and only one data frame is in the map, returns "(default)".

Return Value

An array list of map server object names as strings

See Also

© 2010 All Rights Reserved.