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.