Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

RoleTypes Enumeration

The RoleTypes enumeration contains values that are used to specify the type of role.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public enum RoleTypes

Member nameDescription
DatabaseDatabase fixed roles and user-defined roles.
ServerFixed server roles.
AllDatabase roles and server roles.

The RoleTypes enumeration class is served by the EnumMembers method.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft