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)


<FlagsAttribute> _
Public Enumeration RoleTypes
Dim instance As RoleTypes
public enum RoleTypes
public enum class RoleTypes
type RoleTypes
public enum RoleTypes


Member name Description
All Database roles and server roles.
Database Database fixed roles and user-defined roles.
Server Fixed server roles.


The RoleTypes enumeration class is served by the EnumMembers method.

See Also


Microsoft.SqlServer.Management.Smo Namespace