This documentation is archived and is not being maintained.

TargetRelatedOpportunityToAccount Class (CrmService)

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 account and opportunity entity instances.

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

TargetRelatedOpportunityToAccountInitializes a new instance of the TargetRelatedOpportunityToAccount class.

Instance PropertyDescription
AccountIdGets or sets the ID of the account 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.


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


Web Service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.