SetStateRequest.State Property

Definition

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

C++
public:
 property Microsoft::Xrm::Sdk::OptionSetValue ^ State { Microsoft::Xrm::Sdk::OptionSetValue ^ get(); void set(Microsoft::Xrm::Sdk::OptionSetValue ^ value); };

Property Value

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 model-driven applications. For a list of the state values, refer to the entity metadata.

Applies to

Product Versions
Dataverse SDK Latest