Export (0) Print
Expand All

DatabaseRole.EnumRoles Method ()

 

Applies To: SQL Server 2016 Preview

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: System.Collections.Specialized.StringCollection

A StringCollection system object value that contains the roles that the referenced database role is a member of.

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft