Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a list of the roles of which the login account is a member.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function ListMembers As StringCollection
'Usage
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
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection object value that contains a list of role names of which the login account is a member.
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace