Compartilhar via


Propriedade EntityMetadata.EnforceStateTransitions

Aplica-se a: CRM 2015 on-prem, CRM Online

Gets whether the entity will enforce custom state transitions.

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

Sintaxe

'Declaração
<DataMemberAttribute> _
Public Property EnforceStateTransitions As Nullable(Of Boolean)
[DataMemberAttribute] 
public Nullable<bool> EnforceStateTransitions { get; }

Valor de Propriedade

Type: Anulável<Booleano>
true if the entity supports custom status transitions.; otherwise, false.

Comentários

This property can only be set using the application. Para obter mais informações: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.

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Classe EntityMetadata
Membros de EntityMetadata
Namespace Microsoft.Xrm.Sdk.Metadata

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.