Languages Collection
后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。
The Languages collection contains Language objects referencing the language records of an instance of Microsoft SQL Server.
Properties
Methods
备注
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)