Freigeben über


RoleTypes-Enumeration

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

Diese Enumeration verfügt über ein FlagsAttribute-Attribut, das die bitweise Kombination der Memberwerte zulässt.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration RoleTypes
'Usage
Dim instance As RoleTypes
[FlagsAttribute]
public enum RoleTypes
[FlagsAttribute]
public enum class RoleTypes
[<FlagsAttribute>]
type RoleTypes
public enum RoleTypes

Member

Membername Beschreibung
Database Database fixed roles and user-defined roles.
Server Fixed server roles.
All Database roles and server roles.

Hinweise

The RoleTypes enumeration class is served by the EnumMembers method.