Споделяне чрез


IsValidStateTransitionRequest.NewState Property

 

Applies To: Dynamics CRM 2015

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 String^ NewState {
    String^ get();
    void set(String^ value);
}
member NewState : string with 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 CRM 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

© 2016 Microsoft. All rights reserved. Copyright