Zdieľať cez


SetReportRelatedRequest.Categories Property

 

Applies To: Dynamics CRM 2015

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 array<int>^ Categories {
    array<int>^ get();
    void set(array<int>^ value);
}
member Categories : int[] with 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

© 2016 Microsoft. All rights reserved. Copyright