跳轉到主要內容
更新以禁止識別碼 (Ban Id) 指定之現有禁止清單的資訊。

語法

參數

titleEntityHandle   PFEntityHandle 使用 PFAuthenticationGetEntityWithSecretKeyAsync 取得之 Title 實體的 PFEntityHandle。 request   PFAccountManagementUpdateBansRequest* 已填入的要求物件。 async   XAsyncBlock*
Inout
用於非同步作業的 XAsyncBlock。

傳回值

類型:HRESULT 此 API 作業的結果代碼。

備註

此 API 適用於 Win32、Linux 和 macOS。對於每個禁止,只會更新已設定的值。將任何值保留為 null 即不會變更。如果找不到某個禁止,其餘的仍會套用。只會傳回已套用之更新的相關資訊。另請參閱 ServerBanUsersAsync、ServerGetUserBansAsync、ServerRevokeAllBansForUserAsync、ServerRevokeBansAsync。非同步工作完成時,請呼叫 PFAccountManagementServerUpdateBansGetResultSize 和 PFAccountManagementServerUpdateBansGetResult 以取得結果。

需求

標頭: PFAccountManagement.h

另請參閱

PFAccountManagement 成員
最後修改於 2026年10月6日