共用方式為


SetReportRelatedRequest.Categories Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public int[] Categories { get; set; }
Public Property Categories As Integer()

Property Value

Type: System.Int32[]

Type: Int32[]
The array of report category codes.

Remarks

The Categories property value is used to set the ReportCategory.CategoryCode attribute. The report category codes determine in which report categories the report is shown.

Report Category Code

Value

Sales

1

Service

2

Marketing

3

Administrative

4

The report category codes and their values can be found in the Customization area of the Web application. In the Navigation Pane, click Settings, click Customizations, and then click Customize the System. In the Default Solution page, expand Entities, and then Report Related Category (reportcategory) entity. Click Fields, and double-click the categorycode attribute. In Type, click a report category, such as Sales Reports or Service Reports, to obtain the report category code value.

See Also

SetReportRelatedRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright