---
name: "mongoc_bulkwriteopts_set_serverid"
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_bulkwriteopts_set_serverid"
---

# mongoc\_bulkwriteopts\_set\_serverid(3)

## SYNOPSIS

```
void
mongoc_bulkwriteopts_set_serverid (mongoc_bulkwriteopts_t *self, uint32_t serverid);
```

## DESCRIPTION

Identifies which server to perform the operation. Intended for use by wrapping drivers that select a server before running the operation.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
