Поделиться через


Метод 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.