Condividi tramite


Languages Collection

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Modello di oggetti SQL-DMO in cui è visualizzato l'oggetto corrente

Properties

Count Property

Methods

Item Method

ItemByID Method

Osservazioni

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)