Condividi tramite


SetStateRequest.State Property

Definition

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

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

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