Share via


OrgUnit Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Represents a organization unit.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
<DefaultSortOrderAttribute(ColumnName := "STORENAME", IsDescending := False,  _
    Priority := )> _
<DataContractAttribute> _
<DefaultSortOrderAttribute(ColumnName := "STORENUMBER", IsDescending := False,  _
    Priority := )> _
Public Class OrgUnit _
    Inherits Channel
'Usage
Dim instance As OrgUnit
[DefaultSortOrderAttribute(ColumnName = "STORENAME", IsDescending = false, 
    Priority = )]
[DataContractAttribute]
[DefaultSortOrderAttribute(ColumnName = "STORENUMBER", IsDescending = false, 
    Priority = )]
public class OrgUnit : Channel
[DefaultSortOrderAttribute(ColumnName = L"STORENAME", IsDescending = false, 
    Priority = )]
[DataContractAttribute]
[DefaultSortOrderAttribute(ColumnName = L"STORENUMBER", IsDescending = false, 
    Priority = )]
public ref class OrgUnit : public Channel

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.DataModel.CommerceEntity
    Microsoft.Dynamics.Commerce.Runtime.DataModel.Channel
      Microsoft.Dynamics.Commerce.Runtime.DataModel.OrgUnit

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.Dynamics.Commerce.Runtime.DataModel Namespace