Share via


PermissionInfo.ObjectSchema Property

Gets the schema of the object to which the permission applies.

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

Syntax

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

value = instance.ObjectSchema
public string ObjectSchema { get; }
public:
property String^ ObjectSchema {
    String^ get ();
}
member ObjectSchema : string
function get ObjectSchema () : String

Property Value

Type: System.String
A String value that specifies the schema of the object.

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)