ESRI.ArcGIS.ADF.ArcGISServer
GetMessageVersion(Catalog,String) Method
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > Converter Class > GetMessageVersion Method : GetMessageVersion(Catalog,String) Method




catalog
The catalog to use to get message version.
dataSource
The datasource string is used to look up cached message versions. Avoids multiple server calls to GetMessageVersion during a session.
Retrieves the version enumeration value from the ArcGIS Server.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetMessageVersion( _
   ByVal catalog As Catalog, _
   ByVal dataSource As String _
) As esriArcGISVersion
Visual Basic (Usage)Copy Code
Dim catalog As Catalog
Dim dataSource As String
Dim value As esriArcGISVersion
 
value = Converter.GetMessageVersion(catalog, dataSource)
C# 
public static esriArcGISVersion GetMessageVersion( 
   Catalog catalog,
   string dataSource
)

Parameters

catalog
The catalog to use to get message version.
dataSource
The datasource string is used to look up cached message versions. Avoids multiple server calls to GetMessageVersion during a session.

Remarks

Returns esriArcGISVersion83 for versions prior to 9.2 SP4 because of a bug with GetMessageVersion that was fixed at 9.2 SP4.

See Also

© 2010 All Rights Reserved.