Del via


OwnershipTypes-optælling

Specifies the type of ownership for an entity.

Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

'Deklaration
<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

Medlemmer

Medlemsnavn Beskrivelse
BusinessOwned The entity is owned by a business unit. Kun til intern brug. Value = 4.
BusinessParented The entity is parented by a business unit. Kun til intern brug. Value = 16.
None The entity does not have an owner. Kun til intern brug. Value = 0.
OrganizationOwned The entity is owned by an organization. Value = 8.
TeamOwned The entity is owned by a team. Kun til intern brug.Value = 2.
UserOwned The entity is owned by a system user. Value = 1.

Bemærkninger

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

Platforme

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

Se også

Reference

Microsoft.Xrm.Sdk.Metadata-navneområde
EntityMetadata.OwnershipType-egenskab
Entity Ownership
Options Available When Creating a Custom Entity

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