다음을 통해 공유


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 지원 받기