---
schema_version: "1"
id: c11252c51262aa3f39bc54b373232c4012670953b2af618ef1f452df011918e8
title: shareProductUsageDataSettings 實體
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server-linux/entity_usage.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-tw/entity_usage.htm
source_site: help.tableau.com
content_type: documentation
content_hash: bab7f084a6d11150376deae343056b7d9b278a1b384f044e7a43289b571d703e
description: Reference for the shareProductUsageDataSettings entity to control product usage data sharing.
---
[跳至主要內容](#main-content)

# shareProductUsageDataSettings 實體

設定此實體前，請參閱[產品使用情況資料](https://help.tableau.com/v0.0/server-linux/zh-tw/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-linux/zh-tw/cli_pending-changes.htm#pending-changes-apply)。

## 組態範本

使用此範本設定產品使用情況資料設定。

**重要事項**所有實體選項均大小寫視為相異。

有關組態檔、實體和金鑰的更多說明，請參閱[組態檔範例](https://help.tableau.com/v0.0/server-linux/zh-tw/config_file_example.htm)。

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

## 組態檔參考

以下清單包括可隨 `"shareProductUsageDataSettings"` 實體集一起納入的所有選項：

\_type

必要值：`shareProductUsageDataSettingsType`

enabled

選項：`true`或 `false`

預設情況下，`true` 會與 Tableau 共用來自您的伺服器之產品使用情況資料。