Condividi tramite


Proprietà StatusOptionMetadata.TransitionData

Si applica a: CRM 2015 on-prem, CRM Online

Gets or sets the status transitions allowed for this status.

Spazio dei nomi: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
<DataMemberAttribute> _
Public Property TransitionData As String
[DataMemberAttribute] 
public string TransitionData { get; set; }

Valore proprietà

Type: Stringa
The encoded XML document that defines the allowed transitions.

Note

When the EntityMetadata.EnforceTransitions property is true, the data in this property defines which status changes are allowed. The document defines both the current status sourcestatusid and the allowed status values tostatusid.

&lt;allowedtransitions xmlns="https://schemas.microsoft.com/crm/2009/WebServices"&gt;
&lt;allowedtransition sourcestatusid="1" tostatusid="6" /&gt;
&lt;/allowedtransitions&gt;

Information about the statecode value that corresponds to the allowed status values is available by querying the StatusOptionMetadata.State property of the option with the StatusOptionMetadata.Value that corresponds to the tostatusid value.

Ulteriori informazioni: Define custom state model transitions

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Change History

Vedere anche

Riferimento

Classe StatusOptionMetadata
Membri StatusOptionMetadata
Spazio dei nomi Microsoft.Xrm.Sdk.Metadata

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