Share via


OPPORTUNITY_STATE Class

The OPPORTUNITY_STATE class lists opportunity states, used for the opportunity statecode field. Please note that although the APIs may accept any value, these are the valid values for this field.

This class does not need instantiation or initialization because the fields represent constant integer values.

System.Object
   OPPORTUNITY_STATE

[Visual Basic .NET]
Public Class OPPORTUNITY_STATE
   Inherits System.Object
[C#]
public class OPPORTUNITY_STATE: System.Object
[C++]
public __gc class OPPORTUNITY_STATE: public System.Object

The OPPORTUNITY_STATE class exposes the following integer fields.

Field Value Description
OS_LOST 2 The opportunity was lost.
OS_OPEN 0 The opportunity is open.
OS_WON 1 The opportunity was won.

Requirements

Namespace: Microsoft.Crm.Platform.Types

Assembly: Microsoft.Crm.Platform.Types.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.