다음을 통해 공유


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.