> ## 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.

# XblMultiplayerSessionSetAllocateCloudCompute

> XblMultiplayerSessionSetAllocateCloudCompute

# XblMultiplayerSessionSetAllocateCloudCompute

このプロパティが設定されている場合、'cloudComputePackage' の割り当てが試行されます。

## 構文

```cpp theme={null}
void XblMultiplayerSessionSetAllocateCloudCompute(  
         XblMultiplayerSessionHandle handle,  
         bool allocateCloudCompute  
)  
```

### パラメーター

*handle*   \_In\_\
型: [XblMultiplayerSessionHandle](/reference/live/xsapi-c/multiplayer_c/handles/xblmultiplayersessionhandle)

マルチプレイヤー セッションへのハンドル。

*allocateCloudCompute*   \_In\_\
型: bool

クラウド コンピューティング パッケージを割り当てる必要がある場合は true、それ以外の場合は false。

### 戻り値

型: void

## 要件

**ヘッダー:** multiplayer\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

[multiplayer\_c](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [セッションテンプレートの定数](/ja-jp/services/xbox-services/multiplayer/mpsd/concepts/live-session-template-constants.md)
- [XblMultiplayerSessionProperties](/ja-jp/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessionproperties.md)
- [XblMultiplayerSessionSetSessionChangeSubscription](/ja-jp/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetsessionchangesubscription.md)
- [XblMultiplayerSessionConstants](/ja-jp/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessionconstants.md)
- [XblMultiplayerSessionSetClosed](/ja-jp/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetclosed.md)
