This documentation is archived and is not being maintained.

SavedQueryType Class (CrmHelpers)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This class contains integer flags to set the savedquery.querytype or userquery.querytype property. Although the property may accept any value, these are the valid values.

This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.

The SavedQueryType class exposes the following members.

AddressBookFilters512Specifies an address book filter.
AdvancedSearch 1Specifies an advanced search.
LookupView 64Specifies a lookup view.
MainApplicationView 0Specifies the main application view.
MainApplicationViewWithoutSubject1024Specifies the main application view without a subject.
MaSearch 32Specifies the marketing automation query.
OfflineFilters 16Specifies an offline Microsoft Dynamics CRM for Microsoft Office Outlook filter query.
OutlookFilters 256Specifies a Microsoft Dynamics CRM for Outlook filter query.
QuickfindSearch 4Specifies a quick find query.
Reporting 8Specifies a reporting query.
SavedQueryTypeOther2048Specifies a saved query used for workflow templates and e-mail templates.
SmAppointmentbookView 128Specifies the service management appointment book view.
SubGrid 2Specifies a sub-grid.


This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.


Filename: enums.cs

See Also


© 2010 Microsoft Corporation. All rights reserved.