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 database users that are members of the database role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumMembers As StringCollection
'Usage
Dim instance As DatabaseRole
Dim returnValue As StringCollection
returnValue = instance.EnumMembers()
public StringCollection EnumMembers()
public:
StringCollection^ EnumMembers()
member EnumMembers : unit -> StringCollection
public function EnumMembers() : StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection system object value that contains information about the members of the database role.
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace