次の方法で共有


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

Count Property

Methods

Item Method

ItemByID Method

解説

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) Language object 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)