共用方式為


UserQueryQueryType Class

 

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

Contains integer values that are used for the UserQuery.QueryType attribute.

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

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.UserQueryQueryType

Syntax

public static class UserQueryQueryType
Public NotInheritable Class UserQueryQueryType

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static AddressBookFilters

An address book filter. Value = 512.

System_CAPS_pubfieldSystem_CAPS_static AdvancedSearch

An advanced search. Value = 1.

System_CAPS_pubfieldSystem_CAPS_static CustomDefinedView

A custom view. Value = 16384.

System_CAPS_pubfieldSystem_CAPS_static InteractiveWorkflowView

A view for a dialog (workflow process). Value = 4096.

System_CAPS_pubfieldSystem_CAPS_static LookupView

A lookup view. Value = 64.

System_CAPS_pubfieldSystem_CAPS_static MainApplicationView

The main application view. Value = 0.

System_CAPS_pubfieldSystem_CAPS_static MainApplicationViewWithoutSubject

The main application view without a subject. Value = 1024.

System_CAPS_pubfieldSystem_CAPS_static OfflineFilters

An offline filter for Dynamics 365 for Outlook. Value = 16.

System_CAPS_pubfieldSystem_CAPS_static OutlookFilters

A filter for Dynamics 365 for Outlook. Value = 256.

System_CAPS_pubfieldSystem_CAPS_static QuickFindSearch

A quick find query, which defines the columns searched using the Search field in a list view. Value = 4.

System_CAPS_pubfieldSystem_CAPS_static Reporting

A reporting query. Value = 8.

System_CAPS_pubfieldSystem_CAPS_static SavedQueryTypeOther

A saved query used for workflow templates and e-mail templates. Value = 2048.

System_CAPS_pubfieldSystem_CAPS_static SMAppointmentBookView

The service management appointment book view. Value = 128.

System_CAPS_pubfieldSystem_CAPS_static SubGrid

A sub-grid query. Value = 2.

Remarks

The following table shows the values for this class.

Member

Value

Description

AddressBookFilters

512

An address book filter.

AdvancedSearch

1

An advanced search.

CustomDefinedView

16384

A custom view.

InteractiveWorkflowView

4096

A view for a dialog (workflow process)

LookupView

64

A lookup view.

MainApplicationView

0

The main application view.

MainApplicationViewWithoutSubject

1024

The main application view without a subject.

OfflineFilters

16

An offline Microsoft Dynamics CRM for Microsoft Office Outlook filter query.

OutlookFilters

256

A Microsoft Dynamics CRM for Outlook filter query.

QuickFindSearch

4

A quick find query, which defines the columns searched using the Search field in a list view.

Reporting

8

A reporting query.

SavedQueryTypeOther

2048

A saved query used for workflow templates and e-mail templates.

SmAppointmentbookView

128

The service management appointment book view.

SubGrid

2

A sub-grid.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Crm.Sdk Namespace
UserQuery (saved view) entity
Types of views
Customize entity views

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright