IClientObject.OpenImageService method

Applies To: IClientObject

This function is used to open an Image Service as defined by the fully qualified source and optionally the current service connection properties.

[Visual Basic 6.0]

variable = object.OpenImageService(imageServiceSource, serviceConnectionProperties)


[in] imageServiceSource

String. It can be the service name or the file path of that service, such as ImageService://hawkings:10000/Dxb_Tif or C:\Temp\TestImageService.ISRef.

[in] serviceConnectionProperties

Optional String. An XML string which describes the additional properties about the service that is to be opened.

For more details view the XML schema available at: [ArcGIS Image Server installation folder]\Developer Kit\XML\ISClient.OpenServiceRequest.XSD

Return Value

CImageService Object.



32 bit Windows OS (WinXP)


.NET Framework, COM, ANSI C / C++ Standard compliant


ESRI.ImageServer.ISClient.dll (.NET Framework), ISClient.dll (COM/C++), ISClientC.dll (C/C++)


isclientc.h (ANSI C)


[Visual Basic 6.0]

Private Sub Form1_Load()

   Dim client As New CClientObject

   Dim strConfigPath As String

   strConfigPath = "c:\Program Files\ArcGIS\ImageServer10.0\XADefs\ISViewer.ISCConfig"

   If client.Init(strConfigPath) = False Then

      MsgBox client.Status

      Exit Sub

   End If

   Dim cService As CImageService

   Set cService = client.OpenImageService("ImageService://hawkings:10000/Dxb_Tif", "")


End Sub

For a detailed example, please see the ISViewer Sample in VB 6.0 or the Client Application Sample in ANSI C in [ArcGIS Image Server installation folder]\Developer Kit\Client Applications\Samples\ folder.