ObjectPermissionInfo.PermissionType Property

Gets the type of permission.

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

Syntax

'Declaration
Public ReadOnly Property PermissionType As ObjectPermissionSet 
    Get
'Usage
Dim instance As ObjectPermissionInfo 
Dim value As ObjectPermissionSet 

value = instance.PermissionType
public ObjectPermissionSet PermissionType { get; }
public:
property ObjectPermissionSet^ PermissionType {
    ObjectPermissionSet^ get ();
}
member PermissionType : ObjectPermissionSet
function get PermissionType () : ObjectPermissionSet

Property Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies a type of permission.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ObjectPermissionInfo Class

Microsoft.SqlServer.Management.Smo Namespace