Partager via


OrganizationServiceContextExtensions.RemoveItemCampaign Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Removes an item from a campaign. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void RemoveItemCampaign(
    this OrganizationServiceContext context,
    Guid campaignId,
    Guid entityId
)
public:
[ExtensionAttribute]
static void RemoveItemCampaign(
    OrganizationServiceContext^ context,
    Guid campaignId,
    Guid entityId
)
static member RemoveItemCampaign : 
        context:OrganizationServiceContext *
        campaignId:Guid *
        entityId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub RemoveItemCampaign (
    context As OrganizationServiceContext,
    campaignId As Guid,
    entityId As Guid
)

Parameters

Remarks

This is a method wrapper for the RemoveItemCampaignRequest and RemoveItemCampaignResponse 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