Share via


IDatabaseRole.Owner Property

Gets the IDatabasePrincipal object that represents the owner of the database role.

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

Syntax

'Declaration
ReadOnly Property Owner As IDatabasePrincipal
    Get
'Usage
Dim instance As IDatabaseRole
Dim value As IDatabasePrincipal

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

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabasePrincipal
The IDatabasePrincipal object that represents the owner of the database role.