ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetDataFrames(String,String,String,String) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceBase Class > GetDataFrames Method : GetDataFrames(String,String,String,String) Method




server
Server data source.
service
Name of the map service.
identity
Identity authorized for the server and service.
defaultDataFrame
Output parameter: name of the default data frame.
Gets the names of the data frames in a map service.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetDataFrames( _
   ByVal server As String, _
   ByVal service As String, _
   ByVal identity As String, _
   ByRef defaultDataFrame As String _
) As String()
Visual Basic (Usage)Copy Code
Dim server As String
Dim service As String
Dim identity As String
Dim defaultDataFrame As String
Dim value() As String
 
value = MapResourceBase.GetDataFrames(server, service, identity, defaultDataFrame)
C# 
public static string[] GetDataFrames( 
   string server,
   string service,
   string identity,
   out string defaultDataFrame
)

Parameters

server
Server data source.
service
Name of the map service.
identity
Identity authorized for the server and service.
defaultDataFrame
Output parameter: name of the default data frame.

Return Value

Array of strings with names of data frames in the service.

See Also

© 2010 All Rights Reserved.