次の方法で共有


ListCompatibilityLevels Method

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The ListCompatibilityLevels method lists all available database compatibility levels.

構文

object
.ListCompatibilityLevels( )
as
NameList

Parts

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

Prototype (C/C++)

HRESULT ListCompatibilityLevels(LPSQLDMONAMELIST *ppNames);

解説

ListCompatibilityLevels returns a list of all available version compatibility levels in Microsoft SQL Server. An application can use one of the returned values to set the compatibility of a database using the CurrentCompatibility property.

ms131534.note(ja-jp,SQL.90).gifメモ :
ListCompatibilityLevels can be used with SQL Server 7.0 and Microsoft SQL Server 2000 or later.

Applies To:

SQLServer2 Object