OrganizationServiceContextExtensions.RetrieveMultiple Method (OrganizationServiceContext, RetrieveMultipleRequest)
Applies To: Dynamics CRM 2013
Retrieves a collection of records. The query can be specified using a query expression or a FetchXML query. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static RetrieveMultipleResponse RetrieveMultiple(
this OrganizationServiceContext service,
RetrieveMultipleRequest request
)
public:
[ExtensionAttribute]
static RetrieveMultipleResponse^ RetrieveMultiple(
OrganizationServiceContext^ service,
RetrieveMultipleRequest^ request
)
static member RetrieveMultiple :
service:OrganizationServiceContext *
request:RetrieveMultipleRequest -> RetrieveMultipleResponse
<ExtensionAttribute>
Public Shared Function RetrieveMultiple (
service As OrganizationServiceContext,
request As RetrieveMultipleRequest
) As RetrieveMultipleResponse
Parameters
service
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- request
Type: Microsoft.Xrm.Sdk.Messages.RetrieveMultipleRequest
Return Value
Type: Microsoft.Xrm.Sdk.Messages.RetrieveMultipleResponse
Returns RetrieveMultipleResponse.
Remarks
This is a method wrapper for the RetrieveMultipleRequest and RetrieveMultipleResponse classes. See the documentation in the Request class for more information about this message.
See Also
RetrieveMultiple Overload
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Return to top