Share via


CommonServiceSoap.GetVersionInfo Method

Returns the version of MapPoint Web Service as an array of VersionInfo[] objects.

Public NotOverridable Function GetVersionInfo (  ) As
  [Namespace].VersionInfo()
    Member of [Namespace].CommonServiceSoap

[C#]
public [Namespace].VersionInfo[] GetVersionInfo (  )
    Member of [Namespace].CommonServiceSoap

Remarks

  • MapPoint Web Service returns a single VersionInfo object containing the version number of the MapPoint Web Service.

Example

 
[Visual Basic] 
'This example assumes that the MapPoint Web Service namespace
'has been imported

' Get the version of the MapPoint Web Service you are using
Dim commonService As New CommonServiceSoap()
Dim versionInfos() As VersionInfo
versionInfos = commonService.GetVersionInfo()
Console.WriteLine(versionInfos(0).Component + ", " + versionInfos(0).Version)

 
[C#]
//This example assumes that the MapPoint Web Service namespace
//has been imported

//Get the version of the MapPoint Web Service you are using
CommonServiceSoap commonService = new CommonServiceSoap();
VersionInfo[] versionInfos;
versionInfos = commonService.GetVersionInfo();
Console.WriteLine(versionInfos[0].Component + ", " + versionInfos[0].Version);

 

See Also

CommonServiceSoap Class | VersionInfo Class