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

# XblMultiplayerSessionMatchmakingServer

> XblMultiplayerSessionMatchmakingServer

# XblMultiplayerSessionMatchmakingServer

多人游戏会话服务器，包含与目标会话引用关联的属性。

## 语法

```cpp theme={null}
const XblMultiplayerSessionMatchmakingServer(  
         XblMultiplayerSessionHandle handle  
)  
```

### 参数

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

多人游戏会话的句柄。

### 返回值

类型: const

支持该多人游戏会话的匹配服务器。所返回指针的内存在 XblMultiplayerSessionHandle 对象关闭之前始终有效。

## 要求

**头文件:** multiplayer\_c.h

**库:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 另请参阅

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


## Related topics

- [从 MPSD 迁移到 PlayFab Multiplayer 和 MPA](/zh-CN/services/xbox-services/multiplayer/mpsd/concepts/live-mpsd-to-mlp.md)
- [多人游戏任务](/zh-CN/services/xbox-services/multiplayer/mpsd/how-to/live-mpsd-how-tos.md)
- [XblMultiplayerSessionSetMatchmakingServerConnectionPath](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingserverconnectionpath.md)
- [XblMultiplayerMatchmakingServer](/zh-CN/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayermatchmakingserver.md)
- [XblMultiplayerSessionRawServersJson](/zh-CN/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionrawserversjson.md)
