OwnershipTypes 列舉
Specifies the type of ownership for an entity.
命名空間: Microsoft.Xrm.Sdk.Metadata
組件: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)
語法
'宣告
<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
成員
成員名稱 | 描述 |
---|---|
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.
平台
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
請參閱
參照
Microsoft.Xrm.Sdk.Metadata 命名空間
EntityMetadata.OwnershipType 屬性
Entity Ownership
Options Available When Creating a Custom Entity
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.