EnumVersionInfo Method
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。
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
Parts
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.
Prototype (C/C++)
HRESULT EnumVersionInfo(
LPSQLDMOQUERYRESULTS* ppResults,
SQLDMO_LPCSTR szPrefixes = NULL);
Returns
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. |