Share via


IMutableDatabase.Owner Property

Gets or sets the IUser object that represents the database owner.

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

Syntax

'Declaration
Property Owner As IUser
    Get
    Set
'Usage
Dim instance As IMutableDatabase
Dim value As IUser

value = instance.Owner

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

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IUser
The IUser object that represents the database owner.

Implements

IDatabase.Owner