SetStateRequest.Status SetStateRequest.Status SetStateRequest.Status SetStateRequest.Status Property

Definition

Gets or sets the status that corresponds to the State property. Required.

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

Property Value

Type: OptionSetValueThe status that corresponds to the State property.

Remarks

The Status property corresponds to the StatusCode attribute of an entity. It is shown as the Status Reason in the Microsoft Dynamics 365 application. If you set the value of this property to -1, the system sets the appropriate corresponding status value. For a list of the status 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: 8597998f-764f-4c73-b63d-9f5e02c78061#bkmk_RecordStateandStatus.

Applies to