ESRI banner

IImageService.GetMetaData method

Applies To: IImageService

Returns the service-level metadata of a service.

[Visual Basic 6.0]

variable = Object.GetMetaData(metadataType)

Arguments

[in] metadataType

String that represents the level of Metadata to be returned.

Return Value

String that represents the Metadata XML string. For more details view the XML schema available at:

[ArcGIS Image Server installation folder]\Developer Kit\XML\ISClient.Metadata.XSD

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 (ANSI C)

Example

[Visual Basic 6.0]

Private Sub Form1_Load()

  Dim client As New CClientObject

  Dim strConfigPath as String

  strConfigPath = "c:\Program Files\Common Files\ESRI\Image Server\XADefs\ISViewer.ISCConfig"

  If client.Init(strConfigPath) = False Then

      MsgBox client.Status

  End If

 

  Dim cService As CImageService

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

  MsgBox cService.GetMetaData("")

End Sub

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

Related Topics

See also: GetServicePropertiesDialog