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




serverObject
The map server object.
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 IMapServer, _
   ByVal forOneDataFrameReturnNameAsDefault As Boolean _
) As String()
Visual Basic (Usage)Copy Code
Dim instance As AGSServerConnection
Dim serverObject As IMapServer
Dim forOneDataFrameReturnNameAsDefault As Boolean
Dim value() As String
 
value = instance.GetDataFramesFromMapServerObject(serverObject, forOneDataFrameReturnNameAsDefault)
C# 
public string[] GetDataFramesFromMapServerObject( 
   IMapServer serverObject,
   bool forOneDataFrameReturnNameAsDefault
)

Parameters

serverObject
The map server object.
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.