Share via


IMutableDatabaseRole.Owner Property

Gets or sets 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
Property Owner As IDatabasePrincipal
    Get
    Set
'Usage
Dim instance As IMutableDatabaseRole
Dim value As IDatabasePrincipal

value = instance.Owner

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

Property Value

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

Implements

IDatabaseRole.Owner