Share via


IDatabase.Owner Property

Gets 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
ReadOnly Property Owner As IUser
    Get
'Usage
Dim instance As IDatabase
Dim value As IUser

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

Property Value

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