Share via


Languages Collection

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

The Languages collection contains Language objects referencing the language records of an instance of Microsoft SQL Server.

現在のオブジェクトを表す SQL-DMO オブジェクト モデル

Properties

説明

With SQL Server version 7.0 and later, all supported language records are installed when the product is installed. Therefore, the properties of the SQL Distributed Management Objects (SQL-DMO) Languageobject are read-only. Membership in the Languages collection is fixed.

When using the Item method, the Languages collection supports member identification using either name or ordinal reference syntax. For example:

Set oLanguage = oSQLServer.Languages("Norsk")

Or:

Set oLanguage = oSQLServer.Languages(2)