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

# PFLobbyGetServerPropertyKeys

> Multiplayer C++ SDK API を使用して、PlayFab ロビー上のサーバー スコープのカスタム プロパティのキーを列挙するための PFLobbyGetServerPropertyKeys リファレンス。

ロビー サーバーのプロパティ キーの一覧を取得します。

## 構文

```cpp theme={null}
HRESULT PFLobbyGetServerPropertyKeys(  
    PFLobbyHandle lobby,  
    uint32_t* propertyCount,  
    const char* const** keys  
)  
```

### パラメーター

**`lobby`**   PFLobbyHandle

ロビーのハンドル。

**`propertyCount`**   uint32\_t\*\
*出力*

ロビー サーバー プロパティの出力カウント。

**`keys`**   char\* const\*\*\
*ライブラリが割り当てる `*propertyCount` サイズの出力配列*

ロビー サーバー プロパティ キーの出力配列。

### 戻り値

型: HRESULT

呼び出しが成功した場合は `S_OK`、それ以外の場合はエラー コード。エラー コードの人間が判読可能な形式は、[PFMultiplayerGetErrorMessage()](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayergeterrormessage.md) を通じて取得できます。

## 解説

このロビーがクライアント所有ロビーでない場合、プロパティ キーは返されません。

## 要件

**ヘッダー:** PFLobby.h

## 関連項目

[PFLobby メンバー](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)


## Related topics

- [PlayFab Multiplayer C++ SDK リリース ノート](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-and-matchmaking-release-notes.md)
- [PFMultiplayer C/C++ API の概要 - PFLobby.h](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [PFLobbyGetLobbyPropertyKeys](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetlobbypropertykeys.md)
- [PFLobbyGetSearchPropertyKeys](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetsearchpropertykeys.md)
- [PFLobbyGetServerProperty](https://docs.xbox.com/ja-jp/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbygetserverproperty.md)
