PermissionInfo.ObjectName Property

Gets the name 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 ObjectName As String 
    Get
'Usage
Dim instance As PermissionInfo 
Dim value As String 

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

Property Value

Type: System.String
A String value that specifies the name 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)