Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SetStateRequest.State Property

Definition

Namespace:
Microsoft.Crm.Sdk.Messages
Assembly:
Microsoft.Crm.Sdk.Proxy.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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