Propriété PermissionInfo.PermissionState

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.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property PermissionState As PermissionState 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Octroi, révocation et refus d'autorisations

Voir aussi

Référence

PermissionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Autorisations (moteur de base de données)

sys.syspermissions (Transact-SQL)