---
schema_version: "1"
id: 17a849fe65db8502a17d14ab5ef7aece2a6d6db7c594ea8d5d69ff8d4749523c
title: shareProductUsageDataSettings 实体
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server/entity_usage.md
canonical_url: https://help.tableau.com/v0.0/server/zh-cn/entity_usage.htm
source_site: help.tableau.com
content_type: documentation
content_hash: d3747ce7f7526f8bb21a709986ac5d2fb50168006542869cb128490368e88ce7
description: Reference for the shareProductUsageDataSettings entity to control product usage data sharing.
---
[跳转到主要内容](#main-content)

# shareProductUsageDataSettings 实体

在配置此实体之前，请参见[产品使用情况数据](https://help.tableau.com/v0.0/server/zh-cn/config_general.htm#product_data)，更好地了解 Tableau 收集的行为和使用情况数据。（决不会包括您的机密数据库值。）

使用下面的配置文件模板创建一个 json 文件。使用适当的值填充各个选项之后，使用以下命令传递 json 文件并应用设置：

`tsm settings import -f /path/to/file.json`

`tsm pending-changes apply`

如果待定更改需要重新启动服务器，`pending-changes apply` 命令将显示一个提示，告知您将进行重新启动。即使服务器已停止，此提示也会显示，但在这种情况下不会重新启动。您可以使用 `--ignore-prompt` 选项隐藏提示，但这样做不会改变重新启动行为。如果更改不需要重新启动，则会在不提示的情况下应用更改。有关详细信息，请参见[tsm pending-changes apply](https://help.tableau.com/v0.0/server/zh-cn/cli_pending-changes.htm#pending-changes-apply)。

## 配置模板

使用此模板配置产品使用情况数据设置。

**重要信息：**所有实体选项均区分大小写。

有关配置文件、实体和密钥的更多说明，请参见[配置文件示例](https://help.tableau.com/v0.0/server/zh-cn/config_file_example.htm)。

{
  "configEntities": {
	"shareProductUsageDataSettings": {
		"\_type": "shareProductUsageDataSettingsType",
		"enabled": "true"
        }
     }			
 }

## 配置文件参考

以下列表包括可随 `"shareProductUsageDataSettings"` 实体集一起包括的所有选项：

\_type

必需值：`shareProductUsageDataSettingsType`

enabled

选项：`true` 或 `false`

默认值 `true` 将您的服务器中的产品使用情况数据与 Tableau 共享。