ListCompatibilityLevels Method
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。
The ListCompatibilityLevels method lists all available database compatibility levels.
構文
object.ListCompatibilityLevels( )asNameList
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.
注意 |
---|
ListCompatibilityLevels can be used with SQL Server 7.0 and Microsoft SQL Server 2000 or later. |