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

# PFAccountManagementUpdateBanRequest

> PFAccountManagementUpdateBanRequest 資料模型。代表單一更新封鎖要求。

PFAccountManagementUpdateBanRequest 資料模型。代表單一更新封鎖要求。

## 語法

```cpp theme={null}
typedef struct PFAccountManagementUpdateBanRequest {  
    bool const* active;  
    const char* banId;  
    time_t const* expires;  
    const char* IPAddress;  
    bool const* permanent;  
    const char* reason;  
    PFAccountManagementUserFamilyType const* userFamilyType;  
} PFAccountManagementUpdateBanRequest;  
```

### 成員

**`active`**   bool const\*<br />*may be nullptr*

（選擇性）封鎖的更新作用中狀態。若為 null 則不變更。

**`banId`**   const char\*<br />*is null-terminated*

要更新之封鎖的識別碼。

**`expires`**   time\_t const\*<br />*may be nullptr*

（選擇性）封鎖的更新到期日。若為 null 則不變更。

**`IPAddress`**   const char\*<br />*is null-terminated*

（選擇性）封鎖的更新 IP 位址。若為 null 則不變更。

**`permanent`**   bool const\*<br />*may be nullptr*

（選擇性）是否要將此封鎖設為永久。設定為 true 可將此封鎖設為永久。這不會修改作用中狀態。

**`reason`**   const char\*<br />*is null-terminated*

（選擇性）要更新之封鎖的更新原因。最多 140 個字元。若為 null 則不變更。

**`userFamilyType`**   [PFAccountManagementUserFamilyType](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/enums/pfaccountmanagementuserfamilytype) const\*<br />*may be nullptr*

（選擇性）應包含在封鎖中之使用者的更新家庭類型。若為 null 則不變更。

## 需求

**標頭：** PFAccountManagementTypes.h

## 另請參閱

[PFAccountManagementTypes 成員](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementUpdateBansRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementupdatebansrequest.md)
- [PFAccountManagementServerUpdateBansAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverupdatebansasync.md)
- [PFAccountManagementUpdateBansResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementupdatebansresult.md)
- [PFAccountManagementBanRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementbanrequest.md)
- [PFAccountManagementServerUpdateBansGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverupdatebansgetresult.md)
