Share via


Parent Class

Represents a parent member used by all the member related operations.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Parent

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

Syntax

'Declaration
<DataContractAttribute(Name := "Parent", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class Parent _
    Inherits DataContractBase
'Usage
Dim instance As Parent
[DataContractAttribute(Name = "Parent", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Parent : DataContractBase
[DataContractAttribute(Name = L"Parent", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class Parent : public DataContractBase
[<DataContractAttribute(Name = "Parent", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Parent =  
    class 
        inherit DataContractBase 
    end
public class Parent extends DataContractBase

The Parent type exposes the following members.

Constructors

  Name Description
Public method Parent Initializes a new instance of the Parent class.

Top

Properties

  Name Description
Public property HierarchyId Gets or sets the identifier of the parent member’s explicit hierarchy.
Public property ParentId Gets or sets the identifier of the parent member in a hierarchy.
Public property RelationshipType Gets or sets the type of relationship the member has with the related member.
Public property SortOrder Gets or sets the sort order of the member within the hierarchy/parent.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace