Login.ListMembers 메서드

Returns a list of the roles of which the login account is a member.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function ListMembers As StringCollection
‘사용 방법
Dim instance As Login 
Dim returnValue As StringCollection 

returnValue = instance.ListMembers()
public StringCollection ListMembers()
public:
StringCollection^ ListMembers()
member ListMembers : unit -> StringCollection
public function ListMembers() : StringCollection

반환 값

유형: System.Collections.Specialized.StringCollection
A StringCollection object value that contains a list of role names of which the login account is a member.

사용자, 역할 및 로그인 관리

참고 항목

참조

Login 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

보안 주체(데이터베이스 엔진)

CREATE LOGIN(Transact-SQL)