共用方式為


PrivilegeTypes Enum

Definition

List of object and database privileges

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum PrivilegeTypes
[<System.Flags>]
type PrivilegeTypes = 
Public Enum PrivilegeTypes
Inheritance
PrivilegeTypes
Attributes

Fields

Name Value Description
Unknown 0
Select 1
Insert 2
Update 4
Delete 8
Execute 16
References 32
CreateTable 128
CreateDatabase 256
CreateView 512
CreateProcedure 1024
DumpDatabase 2048
CreateDefault 4096
DumpTransaction 8192
CreateRule 16384
DumpTable 32768
CreateFunction 65536
CreateType 131072
AllDatabasePrivileges 262016
BackupDatabase 262144
BackupLog 524288
ViewDefinition 1048576
Control 2097152
Alter 4194304
Drop 8388608
AllObjectPrivileges 15728703

Applies to