IAISClientObject.GetVersion method

Applies To: IAISClientObject

This method is used to get the version number of the Server on a specified host and port.

[Visual Basic 6.0]

version=Object.GetVersion(serverHost,serverPort)

[C++]

Object->GetVersion(CComBSTR(serverHost),CComBSTR(serverPort),&version);

[C#, .NET]

version = Object.GetVersion(serverHost,serverPort);

Arguments

[in]serverHost

String that represents the server host.

[in]serverPort

String that represents the server port. An empty port will use the default server port.

Return Value

[out]version

Float that holds the version number of the server on the given host and port.

Requirements

Platform

32 bit Windows OS (WinXP)

Environment

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

Dependency

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

Include

isclientc.h

For more details, please see the IAISClient Sample in C++, C# and VB 6.0.