OwnershipTypes 枚举
应用到: CRM 2015 on-prem, CRM Online
Specifies the type of ownership for an entity.
命名空间: Microsoft.Xrm.Sdk.Metadata
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
语法
声明
<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
成员
成员名称 | 描述 |
---|---|
BusinessOwned | The entity is owned by a business unit. 仅供内部使用。 Value = 4. |
BusinessParented | The entity is parented by a business unit. 仅供内部使用。 Value = 16. |
None | The entity does not have an owner. 仅供内部使用。 Value = 0. |
OrganizationOwned | The entity is owned by an organization. Value = 8. |
TeamOwned | The entity is owned by a team. 仅供内部使用。Value = 2. |
UserOwned | The entity is owned by a system user. Value = 1. |
备注
The only valid values for custom entities are OrgOwned or UserOwned. For Microsoft Dynamics CRM 2011 和 Microsoft Dynamics CRM Online, all UserOwned entities can be assigned to teams.
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows Vista,Windows XP
另请参阅
参考
Microsoft.Xrm.Sdk.Metadata 命名空间
EntityMetadata.OwnershipType 属性
Entity Ownership
Options Available When Creating a Custom Entity
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.