Dela via


EntityMetadata.OwnershipType Property

 

Applies To: Dynamics CRM 2015

Gets or sets the ownership type for the entity.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public Nullable<OwnershipTypes> OwnershipType { get; set; }
public:
[DataMemberAttribute]
property Nullable<OwnershipTypes> OwnershipType {
    Nullable<OwnershipTypes> get();
    void set(Nullable<OwnershipTypes> value);
}
[<DataMemberAttribute>]
member OwnershipType : Nullable<OwnershipTypes> with get, set
<DataMemberAttribute>
Public Property OwnershipType As Nullable(Of OwnershipTypes)

Property Value

Type: System.Nullable<OwnershipTypes>

Type: Nullable<OwnershipTypes>
The ownership type for the entity..

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Entity ownership

Return to top

© 2016 Microsoft. All rights reserved. Copyright