OrganizationServiceContextExtensions.CopyCampaignResponse Method (OrganizationServiceContext, EntityReference)
Applies To: Dynamics CRM 2015
Copies the information from one campaign response to another, and optionally creates a campaign response template. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static Guid CopyCampaignResponse(
this OrganizationServiceContext context,
EntityReference campaignResponseId
)
public:
[ExtensionAttribute]
static Guid CopyCampaignResponse(
OrganizationServiceContext^ context,
EntityReference^ campaignResponseId
)
static member CopyCampaignResponse :
context:OrganizationServiceContext *
campaignResponseId:EntityReference -> Guid
<ExtensionAttribute>
Public Shared Function CopyCampaignResponse (
context As OrganizationServiceContext,
campaignResponseId As EntityReference
) As Guid
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
campaignResponseId
Type: Microsoft.Xrm.Sdk.EntityReferenceThe campaign response to copy from. Required.
Return Value
Type: System.Guid
Returns a Guid, ID of the newly created campaign response.
Remarks
This is a method wrapper for the CopyCampaignResponseRequest and CopyCampaignResponseResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright