ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetBandCount Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > ImageResourceBase Class : GetBandCount Method




server
The server name (e.g. adriatic or http://adriatic/arcgis/services)
service
The image service
identity
The identity to use.
Get band count

Syntax

Visual Basic (Declaration) 
Public Shared Function GetBandCount( _
   ByVal server As String, _
   ByVal service As String, _
   ByVal identity As ESRI.ArcGIS.ADF.Identity _
) As Integer
Visual Basic (Usage)Copy Code
Dim server As String
Dim service As String
Dim identity As ESRI.ArcGIS.ADF.Identity
Dim value As Integer
 
value = ImageResourceBase.GetBandCount(server, service, identity)
C# 
public static int GetBandCount( 
   string server,
   string service,
   ESRI.ArcGIS.ADF.Identity identity
)

Parameters

server
The server name (e.g. adriatic or http://adriatic/arcgis/services)
service
The image service
identity
The identity to use.

Return Value

The band count for the service

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.