Share via


IDatabaseOwnedObject.Database Property

Gets the IDatabase object that owns this object.

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

Syntax

'Declaration
ReadOnly Property Database As IDatabase
    Get
'Usage
Dim instance As IDatabaseOwnedObject
Dim value As IDatabase

value = instance.Database
IDatabase Database { get; }
property IDatabase^ Database {
    IDatabase^ get ();
}
abstract Database : IDatabase
function get Database () : IDatabase

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object that owns this object.