PermissionState Enumeration

The PermissionState enumeration contains values that specify the state of a permission.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

语法

声明
Public Enumeration PermissionState
public enum PermissionState
public enum class PermissionState
public enum PermissionState
public enum PermissionState

Members

Member name Description
Deny The permission has been denied.
Grant The permission has been granted.
GrantWithGrant The permission has been granted with the ability to grant access to other users.
Revoke The permission has been revoked.

备注

The PermissionState enumeration class is served by the PermissionState property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Microsoft.SqlServer.Management.Smo Namespace