Énumération OwnershipTypes
S'applique à: CRM 2015 on-prem, CRM Online
Specifies the type of ownership for an entity.
Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
<FlagsAttribute> _
<DataContractAttribute(Name:="OwnershipTypes", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration OwnershipTypes
[FlagsAttribute]
[DataContractAttribute(Name="OwnershipTypes", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum OwnershipTypes
Membres
Nom du membre | Description |
---|---|
BusinessOwned | The entity is owned by a business unit. Utilisation interne uniquement. Value = 4. |
BusinessParented | The entity is parented by a business unit. Utilisation interne uniquement. Value = 16. |
None | The entity does not have an owner. Utilisation interne uniquement. Value = 0. |
OrganizationOwned | The entity is owned by an organization. Value = 8. |
TeamOwned | The entity is owned by a team. Utilisation interne uniquement.Value = 2. |
UserOwned | The entity is owned by a system user. Value = 1. |
Remarques
The only valid values for custom entities are OrgOwned or UserOwned. For Microsoft Dynamics CRM 2011 et Microsoft Dynamics CRM Online, all UserOwned entities can be assigned to teams.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Voir aussi
Référence
Espace de noms Microsoft.Xrm.Sdk.Metadata
Propriété EntityMetadata.OwnershipType
Entity Ownership
Options Available When Creating a Custom Entity
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.