Delen via


PermissionInfo.PermissionState Property

Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked.

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

Syntax

'Declaration
Public ReadOnly Property PermissionState As PermissionState
    Get
'Usage
Dim instance As PermissionInfo
Dim value As PermissionState

value = instance.PermissionState
public PermissionState PermissionState { get; }
public:
property PermissionState PermissionState {
    PermissionState get ();
}
member PermissionState : PermissionState
function get PermissionState () : PermissionState

Property Value

Type: Microsoft.SqlServer.Management.Smo.PermissionState
A PermissionState object value that specifies the permission state of the object.