Partilhar via


PermissionState Enumeration

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Declaration
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.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace