Trace.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 implementation of the trace.

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 Trace 
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 implementation.

Implements

IMajorObject.ParentDatabase

See Also

Reference

Trace Class

Microsoft.AnalysisServices Namespace