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

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

Return to top
Show: