Share via


RetrieveMembersBulkOperationRequest.Query Property

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Gets or sets the query for the retrieve operation that can be used to break up large data sets into pages. Optional.

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

Syntax

'Declaration
Public Property Query As QueryBase
public QueryBase Query { get; set; }

Property Value

Type: QueryBase
The query for the retrieve operation that can be used to break up large data sets into pages.

Remarks

Assign an instance of the QueryExpression, QueryByAttribute, or FetchExpression class. The query must specify the entity name “bulkoperation” and a column set. If the column set includes attributes where IsValidForRead is false or for which you do not have access, they are ignored and the message response contains no data for those attributes. You can find this information in the metadata for your organization. See the preceding metadata browser information.

This optional property is recommended for use if you are likely to return a large number of results and want to avoid a time-out. Use the PageInfo property or PageInfo property to retrieve subsequent pages of data. For more information, see Page Large Result Sets with Query Expression.

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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

RetrieveMembersBulkOperationRequest Class
RetrieveMembersBulkOperationRequest Members
Microsoft.Crm.Sdk.Messages Namespace

Other Resources

Build Queries with QueryExpression

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.