Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Creates a batch request for executing batch operations. This method returns an ID (GUID) that will be used to identify a request as a batch request vs a "normal" request.
Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public Guid CreateBatchOperationRequest(
    string batchName,
    bool returnResults = true,
    bool continueOnError = false
)
Public Function CreateBatchOperationRequest (
    batchName As String,
    returnResults As Boolean,
    continueOnError As Boolean
) As Guid
Parameters
- batchName 
 Type: System.String- Name of the batch. 
- returnResults 
 Type: System.Boolean- Indicates whether results should be returned. true or false. 
- continueOnError 
 Type: System.Boolean- Indicates whether the process should continue on error. true or false. 
Return Value
Type: System.Guid
See Also
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright