Partager via


WinOpportunityRequest.Status Property

Definition

Gets or sets a new status of the opportunity. 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

The status of the opportunity.

Remarks

The Status property corresponds to the Opportunity.StatusCode attribute. It is shown as the Status Reason in model-driven applications. If you set the value of this property to -1, the system will set the appropriate corresponding status value.

Applies to