共用方式為


Member.ParentSameAsPrevious 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property ParentSameAsPrevious As Boolean 
    Get
'用途
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

屬性值

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

例外狀況

例外狀況 條件
System.InvalidOperationException

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

備註

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

請參閱

參考

Member 類別

Microsoft.AnalysisServices.AdomdClient 命名空間