LoseOpportunityRequest.Status Property
Definition
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 a 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 a status of the opportunity.
Remarks
The Status property corresponds to the Opportunity.StatusCode
column. It is shown as the Status Reason in model-driven applications. If you set the value of this property to -1, the system automatically sets the corresponding status value. For a list of the status values, see the definition of the table. You can use a table definition browser like the one described in Browse table definitions in your environment.