Share via


Member.Parent Property

Gets a reference to the parent Member, if applicable, that contains the Member.

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

Syntax

'Declaration
Public ReadOnly Property Parent As Member
    Get
'Usage
Dim instance As Member
Dim value As Member

value = instance.Parent
public Member Parent { get; }
public:
property Member^ Parent {
    Member^ get ();
}
member Parent : Member
function get Parent () : Member

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.Member
A Member that contains the parent member of the Member.

Exceptions

Exception Condition
System.InvalidOperationException

The provider did not provide cube information for CellSet members.

Remarks

This property may throw a NotSupportedException exception for CellSet members if the provider did not provide cube information.

Note

Accessing this property may require a round-trip to the server.