共用方式為


ServerUserProfiles Enum

Definition

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
None 0
SALogin 1

Login is a member of the sysadmin role.

CreateDatabase 2

Login has CREATE DATABASE permission.

CreateXP 4

Login can execute sp_addextendedproc and sp_dropextendedproc (loading and unloading extended stored procedures).

All 7

Login has all specifiable SQL Server maintenance permissions.

Applies to