The EnumVersionInfo method returns a QueryResults object enumerating the members of the VERSIONINFO resource identifying the installed version of Microsoft® SQL Server™.
object.EnumVersionInfo( [ Prefixes ] ) as QueryResults
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
Prefixes | Comma-delimited string naming VERSIONINFO resource members and optionally directing output to list only those members specified |
A QueryResults object containing one result set defined by these columns.
Column | Data type | Description |
---|---|---|
Index | smallint | Offset of the member in the structure. |
Name | nvarchar(33) | Friendly name of the structure member. |
Internal_Value | integer | If applicable, member value. Contains values only when the member is defined as a numeric value. |
Character_Value | nvarchar(121) | Member value as a string. |
HRESULT EnumVersionInfo(
LPSQLDMOQUERYRESULTS* ppResults,
SQLDMO_LPCSTR szPrefixes = NULL);