Share via


Database.IMajorObject.ParentDatabase Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the parent database referred by the Database.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private ReadOnly Property ParentDatabase As Database 
    Implements IMajorObject.ParentDatabase 
    Get
'Usage
Dim instance As Database 
Dim value As Database 

value = CType(instance, IMajorObject).ParentDatabase
Database IMajorObject.ParentDatabase { get; }
private:
virtual property Database^ ParentDatabase {
    Database^ get () sealed = IMajorObject::ParentDatabase::get;
}
private abstract ParentDatabase : Database 
private override ParentDatabase : Database
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: Microsoft.AnalysisServices.Database
The parent database referred by the Database.

Implements

IMajorObject.ParentDatabase

See Also

Reference

Database Class

Microsoft.AnalysisServices Namespace