---
schema_version: "1"
id: 1b800335e4129998887702cb837b97d3f6940ad4ac4533285ce36d48b723f34e
title: getResult()
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_batch_result_get_result.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_batch_result_get_result.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b3f71b5c8f5140bbdec36cf66cb9cd71e65412943eefd0a935bd02af01dc11d3
description: Returns an object that contains the results of the batch operation. The object is typed according to the batch method. For example, if you call getMembershipBatch(), a successful call to BatchResult getResult() returns a ConnectApi.GroupMembership object.
---
# getResult()

Returns an object that contains the results of the batch operation. The object is typed according to the batch method. For example, if you call getMembershipBatch(), a successful call to BatchResult getResult() returns a ConnectApi.GroupMembership object.

## Signature

public Object getResult()

## Return Value

Type: Object