Поделиться через


IsValidStateTransitionRequest.NewState Property

 

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

Gets or sets the proposed new state for the record.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public string NewState { get; set; }
Public Property NewState As String

Property Value

Type: System.String

Type: String
The proposed new state for the record.

Remarks

This property corresponds to the Entityname.StateCode attribute. It specifies the possible states for an entity record. It is shown as the Status in the Microsoft Dynamics 365 application. For a list of the state values, see the metadata for this entity. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. For more information, see Record state and status.

See Also

IsValidStateTransitionRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright