SetStateRequest.State Property

 

Applies To: Dynamics CRM 2015

Gets or sets the state of the entity record. Required.

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

Syntax

public OptionSetValue State { get; set; }
public:
property OptionSetValue^ State {
    OptionSetValue^ get();
    void set(OptionSetValue^ value);
}
member State : OptionSetValue with get, set
Public Property State As OptionSetValue

Property Value

Type: Microsoft.Xrm.Sdk.OptionSetValue

Type: OptionSetValue 
The state of the entity record.

Remarks

The State property corresponds to the StateCode attribute of an entity. 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, refer to the entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information. More information: Record state and status.

See Also

SetStateRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright