Condividi tramite


EntityMetadata.EnforceStateTransitions Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets whether the entity will enforce custom state transitions.

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

Syntax

[DataMemberAttribute]
public Nullable<bool> EnforceStateTransitions { get; internal set; }
<DataMemberAttribute>
Public Property EnforceStateTransitions As Nullable(Of Boolean)
    Get
    Friend Set
End Property

Property Value

Type: System.Nullable<Boolean>

Type: Nullable<Boolean>
true if the entity supports custom status transitions.; otherwise, false.

Remarks

This property can only be set using the application. More information: Define custom state model transitions.

Incident (case) is the only system entity that supports custom state transitions. Custom entities may also support custom state transitions. The definitions for the allowed transitions are stored in the StatusOptionMetadata.TransitionData property.

See Also

EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright