EnumVersionInfo Method
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

EnumVersionInfo Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The EnumVersionInfo method returns a QueryResults object that enumerates the members of the VERSIONINFO resource that identifies an instance of Microsoft SQL Server.


object
.EnumVersionInfo( [ Prefixes ] )as QueryResults

object

Expression that evaluates to an object in the Applies To list.

Prefixes

Comma-separated string that names VERSIONINFO resource members and optionally directing output to list only those members specified.

HRESULT EnumVersionInfo(
LPSQLDMOQUERYRESULTS* ppResults,
SQLDMO_LPCSTR szPrefixes = NULL);

A QueryResults object that contains one result set defined by these columns.

Column Data type Description

Character_Value

nvarchar(121)

Member value as a string.

Index

smallint

Offset of the member in the structure.

Internal_Value

integer

If applicable, member value. Contains values only when the member is defined as a numeric value.

Name

nvarchar(33)

Display name of the structure member.

Show:
© 2016 Microsoft