次の方法で共有


NameList Object

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

The NameList object is a string container object returned by methods that enumerate Microsoft SQL Server components by name.

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

Methods

FindName Method

Refresh Method

Item Method

 

解説

SQL Distributed Management Objects (SQL-DMO) implements object enumerating methods that return the names of servers running SQL Server or SQL Server database objects, such as users or indexes. Commonly, the name of the SQL Server component is used by an application in logic that directs the selection of a component. That component can then be referenced by name in another method.

For example, the ListAvailableSQLServers method of the Application object returns a NameList object that enumerates SQL Server server names. An application can use the Item method of the NameList object to populate a control, such as a combo box, allowing users to select a SQL Server installation by name. The name selected can then be used in the Connect method of the SQLServer object.

参照

関連項目

ListAvailableSQLServers Method
ListMemberServers Method
ListAvailableUniqueIndexesForFullText Method
ListObjectNames Method
ListMembers Method (Login, User)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手