Share via


IDatabasePermission.DatabasePrincipal Property

Gets the IDatabasePrincipal object that has the permission.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property DatabasePrincipal As IDatabasePrincipal 
    Get
'Usage
Dim instance As IDatabasePermission 
Dim value As IDatabasePrincipal 

value = instance.DatabasePrincipal
IDatabasePrincipal DatabasePrincipal { get; }
property IDatabasePrincipal^ DatabasePrincipal {
    IDatabasePrincipal^ get ();
}
abstract DatabasePrincipal : IDatabasePrincipal
function get DatabasePrincipal () : IDatabasePrincipal

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabasePrincipal
The IDatabasePrincipal object that has the permission.

See Also

Reference

IDatabasePermission Interface

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace