次の方法で共有


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.