Export (0) Print
Expand All

DatabaseRole.EnumRoles Method

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)

public StringCollection EnumRoles()

Return Value

Type: StringCollection
A StringCollection system object value that contains the roles that the referenced database role is a member of.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft