UnpublishDuplicateRuleRequest UnpublishDuplicateRuleRequest UnpublishDuplicateRuleRequest UnpublishDuplicateRuleRequest Class


Contains the data that is needed to submit an asynchronous job to unpublish a duplicate rule.

For the Web API use the UnpublishDuplicateRule Action.

public ref class UnpublishDuplicateRuleRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class UnpublishDuplicateRuleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type UnpublishDuplicateRuleRequest = class
    inherit OrganizationRequest
Public NotInheritable Class UnpublishDuplicateRuleRequest
Inherits OrganizationRequest


Message Availability

For this message to work, the caller must be connected to the server.


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

Privileges and Access Rights

To perform this action, the caller must have privileges on the DuplicateRule entity and access rights on the record specified in the DuplicateRuleId property.

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

Notes for Callers

This message unpublishes a duplicate rule by deleting all matchcodes that were created for this duplicate detection rule by the publishing job.


UnpublishDuplicateRuleRequest() UnpublishDuplicateRuleRequest() UnpublishDuplicateRuleRequest() UnpublishDuplicateRuleRequest()

Initializes a new instance of the UnpublishDuplicateRuleRequest class.


DuplicateRuleId DuplicateRuleId DuplicateRuleId DuplicateRuleId

Gets or sets the ID of the duplicate rule to be unpublished. Required.

ExtensionData ExtensionData ExtensionData ExtensionData

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

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

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

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

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

(Inherited from OrganizationRequest)

Applies to

See also