Share via


WinOpportunityRequest.Status Property

 

Applies To: Dynamics CRM 2015

Gets or sets a new status of the opportunity. Required.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

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

Property Value

Type: Microsoft.Xrm.Sdk.OptionSetValue

Type: OptionSetValue
The status of the opportunity.

Remarks

The Status property corresponds to the Opportunity.StatusCode attribute. It is shown as the Status Reason in the Microsoft Dynamics CRM application. If you set the value of this property to -1, the system will set the appropriate corresponding status value. For more information, see Record state and status.

See Also

WinOpportunityRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright