ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetBandCount Method
See Also 
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 Identity _
) As Integer
Visual Basic (Usage)Copy Code
Dim server As String
Dim service As String
Dim identity As Identity
Dim value As Integer
 
value = ImageResourceBase.GetBandCount(server, service, identity)
C# 
public static int GetBandCount( 
   string server,
   string service,
   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

See Also

© 2010 All Rights Reserved.