> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PartyManager::SetOption

> Configures an option to fine-tune Party library functionality.

Configures an option to fine-tune Party library functionality.

## Syntax

```cpp theme={null}
PartyError SetOption(  
    void* object,  
    PartyOption option,  
    const void* value  
)  
```

### Parameters

**`object`**   void\*\
*optional*

The Party library object that may be required as context for different [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption) values.

**`option`**   [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption)

The Party library option to configure.

**`value`**   void\*\
*optional*

A pointer to the value used to override `option`. If `value` is null, the option will be reset to its default value.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise.

## Requirements

**Header:** Party.h

## See also

[PartyManager](/services/playfab/multiplayer/networking/reference/classes/PartyManager/partymanager)\
[PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption)\
[PartyManager::GetOption](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_getoption)


## Related topics

- [PartyManager::GetOption](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_getoption.md)
- [PartyOption](/services/playfab/multiplayer/networking/reference/enums/partyoption.md)
- [PartyRegionQualityMeasurementConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyregionqualitymeasurementconfiguration.md)
- [PartyRegionUpdateConfiguration](/services/playfab/multiplayer/networking/reference/structs/partyregionupdateconfiguration.md)
- [PartyLocalUdpSocketBindAddressConfiguration](/services/playfab/multiplayer/networking/reference/structs/partylocaludpsocketbindaddressconfiguration.md)
