StatusOptionMetadata.TransitionData-egenskab
Gets or sets the status transitions allowed for this status.
Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)
Syntaks
'Deklaration
<DataMemberAttribute> _
Public Property TransitionData As String
[DataMemberAttribute]
public string TransitionData { get; set; }
Egenskabsværdi
Type: Streng
The encoded XML document that defines the allowed transitions.
Bemærkninger
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.
Arbejde med Avanceret søgningFlere oplysninger: Define custom state model transitions
Sikkerhed i tråd
Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.
Platforme
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
Change History
Se også
Reference
StatusOptionMetadata-klasse
StatusOptionMetadata-medlemmer
Microsoft.Xrm.Sdk.Metadata-navneområde
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.