Delen via


HierarchyMembersGetCriteria.Ancestors Property

Gets or sets a value indicating whether the ancestors of the supplied member code will be retrieved.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services (in Microsoft.MasterDataServices.Services.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property Ancestors As Boolean
    Get
    Set
'Usage
Dim instance As HierarchyMembersGetCriteria
Dim value As Boolean

value = instance.Ancestors

instance.Ancestors = value
[DataMemberAttribute]
public bool Ancestors { get; set; }
[DataMemberAttribute]
public:
property bool Ancestors {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute>]
member Ancestors : bool with get, set
function get Ancestors () : boolean
function set Ancestors (value : boolean)

Property Value

Type: System.Boolean
true if the ancestors of the supplied member code will be retrieved; otherwise, false.