Share via


Member.ParentSameAsPrevious Property

Returns whether the parent of this position member is the same as the parent of the immediately preceding member.

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

Syntax

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

value = instance.ParentSameAsPrevious
public bool ParentSameAsPrevious { get; }
public:
property bool ParentSameAsPrevious {
    bool get ();
}
member ParentSameAsPrevious : bool
function get ParentSameAsPrevious () : boolean

Property Value

Type: System.Boolean
true if the parent of this position member is the same as the parent of the immediately preceding member; false otherwise.

Exceptions

Exception Condition
System.InvalidOperationException

The Member is populated by GetChildren, GetMembers, or GetSchemaObject.

Remarks

Accessing this property returns a NotSupportedExeption exception if the Member is populated by GetChildren, GetMembers, or GetSchemaObject.