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

# PFPlayerDataManagementServerDeletePlayerCustomPropertiesAsync

> 使用从 PFAuthenticationGetEntityWithSecretKeyAsync 获取的游戏实体句柄删除玩家自定义属性的服务器 API。可在 Windows 上使用。

删除玩家的游戏特定自定义属性

## 语法

```cpp theme={null}
HRESULT PFPlayerDataManagementServerDeletePlayerCustomPropertiesAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFPlayerDataManagementServerDeletePlayerCustomPropertiesRequest* request,  
    XAsyncBlock* async  
)  
```

### 参数

**`titleEntityHandle`**   PFEntityHandle

使用 PFAuthenticationGetEntityWithSecretKeyAsync 获取的游戏实体的 PFEntityHandle。

**`request`**   [PFPlayerDataManagementServerDeletePlayerCustomPropertiesRequest\*](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagementtypes/structs/pfplayerdatamanagementserverdeleteplayercustompropertiesrequest.md)

已填充的请求对象。

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

用于异步操作的 XAsyncBlock。

### 返回值

类型：HRESULT

此 API 操作的结果代码。

## 备注

此 API 可在 Windows 上使用。删除指定玩家的自定义属性。提供的属性名称列表不得为空。另请参阅 ServerGetPlayerCustomPropertyAsync、ServerListPlayerCustomPropertiesAsync、ServerUpdatePlayerCustomPropertiesAsync。异步任务完成后，调用 [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResultSize](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresultsize.md) 和 [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresult.md) 获取结果。

## 要求

**头文件：** PFPlayerDataManagement.h

## 另请参阅

[PFPlayerDataManagement 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/pfplayerdatamanagement_members.md)


## Related topics

- [PFPlayerDataManagementServerDeletePlayerCustomPropertiesGetResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverdeleteplayercustompropertiesgetresult.md)
- [PFPlayerDataManagementServerGetPlayerCustomPropertyAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementservergetplayercustompropertyasync.md)
- [PFPlayerDataManagementServerListPlayerCustomPropertiesAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverlistplayercustompropertiesasync.md)
- [PFPlayerDataManagementServerUpdatePlayerCustomPropertiesAsync](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementserverupdateplayercustompropertiesasync.md)
- [PFPlayerDataManagementServerDeletePlayerCustomPropertiesResult](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pfplayerdatamanagementtypes/structs/pfplayerdatamanagementserverdeleteplayercustompropertiesresult.md)
