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

# PFLeaderboardsUnlinkLeaderboardFromStatisticAsync

> リーダーボード定義を、リンクされている統計定義からリンク解除します。

リーダーボード定義を、リンクされている統計定義からリンク解除します。

## 構文

```cpp theme={null}
HRESULT PFLeaderboardsUnlinkLeaderboardFromStatisticAsync(  
    PFEntityHandle entityHandle,  
    const PFLeaderboardsUnlinkLeaderboardFromStatisticRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFLeaderboardsUnlinkLeaderboardFromStatisticRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsunlinkleaderboardfromstatisticrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Windows、Linux、macOS で利用できます。LeaderboardCreateLeaderboardDefinitionAsync も参照してください。操作の状態を取得するには XAsyncGetStatus を呼び出します。サービス呼び出しが失敗した場合、非同期結果は E\_PF\_LEADERBOARD\_NOT\_FOUND、E\_PF\_NO\_LINKED\_STATISTIC\_TO\_LEADERBOARD、またはグローバル PlayFab サービス エラーのいずれかになります。エラー処理の詳細については、ドキュメント ページ「Handling PlayFab Errors」を参照してください。

## 要件

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

## 関連項目

[PFLeaderboards のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)


## Related topics

- [Services C API の概要 - PFLeaderboards.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [Unlink Leaderboard From Statistic](https://docs.xbox.com/api-reference/leaderboards/unlink-leaderboard-from-statistic.md)
- [PFLeaderboardsUnlinkLeaderboardFromStatisticRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsunlinkleaderboardfromstatisticrequest.md)
- [Leaderboards](https://docs.xbox.com/ja-jp/build/steam-porting-guide/features/steam-leaderboards.md)
- [PFLeaderboardsCreateLeaderboardDefinitionAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardscreateleaderboarddefinitionasync.md)
