Partager via


UnpublishDuplicateRuleRequest Class

Definition

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

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

Remarks

For the Web API use the UnpublishDuplicateRule action.

Usage

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.

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.

Constructors

UnpublishDuplicateRuleRequest()

Initializes a new instance of the UnpublishDuplicateRuleRequest class.

Properties

DuplicateRuleId

Gets or sets the ID of the duplicate rule to be unpublished. 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