Share via


WinOpportunityRequest.Status Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

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

'Declaration
Public Property Status As OptionSetValue
public OptionSetValue Status { get; set; }

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

WinOpportunityRequest Class
WinOpportunityRequest Members
Microsoft.Crm.Sdk.Messages Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.