This documentation is archived and is not being maintained.

SetStateOpportunityRequest Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the data needed to set the state of an opportunity.

The SetStateOpportunityRequest class inherits from Request. It exposes the following members.

SetStateOpportunityRequestInitializes a new instance of the SetStateOpportunityRequest class.

Instance PropertyDescription
EntityIdGets or sets the ID of the opportunity instance that is the target of the set state operation.
OpportunityStateGets or sets the new state for the opportunity.
OpportunityStatusGets or sets the new status reason for the opportunity.


Pass an instance of this class as the request parameter in the Execute method.


Web Service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.