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 that the referenced database role is a member of.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumRoles As StringCollection
'Usage
Dim instance As DatabaseRole
Dim returnValue As StringCollection
returnValue = instance.EnumRoles()
public StringCollection EnumRoles()
public:
StringCollection^ EnumRoles()
member EnumRoles : unit -> StringCollection
public function EnumRoles() : StringCollection
Return Value
Type: System.Collections.Specialized.StringCollection
A StringCollection system object value that contains the roles that the referenced database role is a member of.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace