---
name: "mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result"
---

# mongoc\_client\_encryption\_rewrap\_many\_datakey\_result\_get\_bulk\_write\_result(3)

## SYNOPSIS

```
const bson_t *
mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result (
   mongoc_client_encryption_rewrap_many_datakey_result_t *result);
```

Get the bulk write result set by a successful call to *mongoc\_client\_encryption\_rewrap\_many\_datakey()*.

Returns **NULL** if no bulk write operation was executed or if the bulk write operation was unacknowledged.

## PARAMETERS

- •

  **result**: A *mongoc\_client\_encryption\_rewrap\_many\_datakey\_result\_t*.

## RETURNS

A *bson\_t* that must not be modified or freed if **result** is not **NULL**. Otherwise, returns **NULL**.

**SEE ALSO:**

```
mongoc_client_encryption_rewrap_many_datakey()
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
