RemoveItemCampaignRequest Class

Definition

Contains the data that is needed to remove an item from a campaign.

This message does not have a corresponding Web API action or function in Microsoft Dynamics 365 (online & on-premises). More information: Missing functions and actions for some organization service messages.

public ref class RemoveItemCampaignRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RemoveItemCampaignRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type RemoveItemCampaignRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RemoveItemCampaignRequest
Inherits OrganizationRequest
Inheritance
RemoveItemCampaignRequest
Attributes

Remarks

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of RemoveItemCampaignResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the Campaign entity and access rights on the records specified in the CampaignId property and the EntityId property.

For a complete list of the required privileges, see RemoveItemCampaign message privileges.

Constructors

RemoveItemCampaignRequest()

Initializes a new instance of the RemoveItemCampaignRequest class.

Properties

CampaignId

Gets or sets the ID of the campaign. Required.

EntityId

Gets or sets the ID of the item to be removed from the campaign. Required.

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to

See also