مشاركة عبر


PermissionInfo.ObjectClass Property

Gets the object class for the object to which permissions have been granted or denied.

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

Syntax

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

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.ObjectClass
An ObjectClass object value that specifies the object class.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

PermissionInfo Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Permissions (Database Engine)

sys.syspermissions (Transact-SQL)