This documentation is archived and is not being maintained.

TargetRelatedOpportunityToContact Class (CrmService)

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the data needed for executing SetRelated and RemoveRelated to add or remove a relationship between contact and opportunity entity instances.

The TargetRelatedOpportunityToContact class inherits from TargetRelated. It exposes the following members.

ConstructorDescription
TargetRelatedOpportunityToContactInitializes a new instance of the TargetRelatedOpportunityToContact class.

Instance PropertyDescription
ContactIdGets or sets the ID of the contact entity instance that is the target of the operation.
OpportunityIdGets or sets the ID of the opportunity entity instance that is the target of the operation.

Remarks

Pass an instance of this class as the Target parameter in the appropriate Request class.

Requirements

Web Service: CrmService

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: