Freigeben über


OwnershipTypes Enumeration

Specifies the type of ownership for an entity.

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<DataContractAttribute(Name:="OwnershipTypes", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
<FlagsAttribute> _
Public Enumeration OwnershipTypes
[DataContractAttribute(Name="OwnershipTypes", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
[FlagsAttribute] 
public enum OwnershipTypes

Mitglieder

Mitgliedsname Beschreibung
BusinessOwned The entity is owned by a business unit. Nur zur internen Verwendung. Value = 4.
BusinessParented The entity is parented by a business unit. Nur zur internen Verwendung. Value = 16.
None The entity does not have an owner. Nur zur internen Verwendung. Value = 0.
OrganizationOwned The entity is owned by an organization. Value = 8.
TeamOwned The entity is owned by a team. Nur zur internen Verwendung.Value = 2.
UserOwned The entity is owned by a system user. Value = 1.

Anmerkungen

The only valid values for custom entities are OrgOwned or UserOwned. For Microsoft Dynamics CRM 2011 und Microsoft Dynamics CRM Online, all UserOwned entities can be assigned to teams.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

Microsoft.Xrm.Sdk.Metadata Namespace
EntityMetadata.OwnershipType Eigenschaft
Entity Ownership
Options Available When Creating a Custom Entity

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.