Propriété StatusOptionMetadata.TransitionData
S'applique à: CRM 2015 on-prem, CRM Online
Gets or sets the status transitions allowed for this status.
Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
<DataMemberAttribute> _
Public Property TransitionData As String
[DataMemberAttribute]
public string TransitionData { get; set; }
Valeur de propriété
Type: Chaîne
The encoded XML document that defines the allowed transitions.
Remarques
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.
<allowedtransitions xmlns="https://schemas.microsoft.com/crm/2009/WebServices">
<allowedtransition sourcestatusid="1" tostatusid="6" />
</allowedtransitions>
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.
Pour plus d'informations, consultez : Define custom state model transitions
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Change History
Voir aussi
Référence
Classe StatusOptionMetadata
Membres StatusOptionMetadata
Espace de noms Microsoft.Xrm.Sdk.Metadata
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.