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. These values are intended to be used when constructing XML string parameters used in the Microsoft CRM APIs.

  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.Flags

Assembly: microsoft.crm.proxy.dll

See Also

© 2003 Microsoft Corporation. All rights reserved.