GetVerInfo Method
- Last UpdatedNov 06, 2025
- 1 minute read
'Declaration
Public Shared Sub GetVerInfo( _
ByVal sessionId As Integer, _
ByRef xmlversionInfo As String _
)
public static void GetVerInfo(
int sessionId,
out string xmlversionInfo
)
Parameters
- sessionId
- Optional. Holds the session ID and thus the user who is making this method call.
- xmlversionInfo
- Output. Holds the returned XML-formatted string.
This information is used for client applications to test for specific versions of stored procedures/triggers or default data scripts that include data such as new language strings or Operator buttons. This data is also returned with the response to a StartSession request.
An example of a returned string that shows the XML format of the string is:
<?xml version="1.0"?>
<response>
<result>0</result><dbserver>LAB07\MSSQLSERVER2008</dbserver><database>MESDB</database>
<dbversion>5.01.0001</dbversion><spversion>5.01.0001</spversion><defdataversion>5.01.0001</defdataversion>
<dbmsname>Microsoft SQL Server</dbmsname><dbmsversion>10.50.1600</dbmsversion>
<provider>SQLOLEDB</provider><time_zone_bias_value>-240</time_zone_bias_value>
<factelligence_bias_value>-240</factelligence_bias_value></response>