Partilhar via


SetReportRelatedRequest Class

Definition

Contains the data needed to link an instance of a report entity to related entities.

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

Remarks

For the Web API use the SetReportRelated action.

Usage

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

Privileges and Access Rights

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

Constructors

SetReportRelatedRequest()

Initializes a new instance of the SetReportRelatedRequest class.

Properties

Categories

Gets or sets an array of report category codes. Required.

Entities

Gets or sets an array of entity type codes for the related entities. 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)
ReportId

Gets or sets the ID of the report. Required.

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)
Visibility

Gets or sets an array of report visibility codes. Required.

Applies to

See also