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

# PFLeaderboardsUnlinkLeaderboardFromStatisticAsync

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

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

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFLeaderboardsUnlinkLeaderboardFromStatisticRequest\*](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsunlinkleaderboardfromstatisticrequest)

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

**`async`**   XAsyncBlock\*<br />*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 のメンバー](/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members)


## Related topics

- [Services C API overview - PFLeaderboards.h](/ja-jp/services/playfab/api-references/c/pfleaderboards/pfleaderboards_members.md)
- [PFLeaderboardsUnlinkLeaderboardFromStatisticRequest](/ja-jp/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsunlinkleaderboardfromstatisticrequest.md)
- [Leaderboards](/ja-jp/build/steam-porting-guide/features/steam-leaderboards.md)
- [PFLeaderboardsCreateLeaderboardDefinitionAsync](/ja-jp/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardscreateleaderboarddefinitionasync.md)
- [PFLeaderboardsLeaderboardColumn](/ja-jp/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsleaderboardcolumn.md)
