共用方式為


MDM_Policy_Config01_Privacy02 類別

[某些資訊與發行前版本產品有關,在正式發行前可能會大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。]

MDM_Policy_Config01_Privacy02類別代表可用的搜尋原則。

下列語法是簡化自 MOF 程式碼,且包含所有繼承的屬性。

語法

[InPartition("local-system"), dynamic, provider("DMWmiBridgeProv")]
class MDM_Policy_Config01_Privacy02
{
  string InstanceID;
  string ParentID;
  sint32 AllowAutoAcceptPairingAndPrivacyConsentPrompts;
  sint32 AllowInputPersonalization;
  string LetAppsSyncWithDevices_UserInControlOfTheseApps;
  sint32 PublishUserActivities;
  string LetAppsSyncWithDevices_ForceDenyTheseApps;
  string LetAppsSyncWithDevices_ForceAllowTheseApps;
  sint32 LetAppsSyncWithDevices;
  string LetAppsAccessTrustedDevices_UserInControlOfTheseApps;
  string LetAppsRunInBackground_UserInControlOfTheseApps;
  string LetAppsRunInBackground_ForceDenyTheseApps;
  string LetAppsRunInBackground_ForceAllowTheseApps;
  sint32 LetAppsRunInBackground;
  string LetAppsGetDiagnosticInfo_UserInControlOfTheseApps;
  string LetAppsGetDiagnosticInfo_ForceDenyTheseApps;
  string LetAppsGetDiagnosticInfo_ForceAllowTheseApps;
  sint32 LetAppsGetDiagnosticInfo;
  string LetAppsAccessTrustedDevices_ForceDenyTheseApps;
  string LetAppsAccessTrustedDevices_ForceAllowTheseApps;
  sint32 LetAppsAccessTrustedDevices;
  string LetAppsAccessRadios_UserInControlOfTheseApps;
  string LetAppsAccessTasks_UserInControlOfTheseApps;
  string LetAppsAccessTasks_ForceDenyTheseApps;
  string LetAppsAccessTasks_ForceAllowTheseApps;
  sint32 LetAppsAccessTasks;
  string LetAppsAccessRadios_ForceDenyTheseApps;
  string LetAppsAccessRadios_ForceAllowTheseApps;
  sint32 LetAppsAccessRadios;
  string LetAppsAccessPhone_UserInControlOfTheseApps;
  string LetAppsAccessPhone_ForceDenyTheseApps;
  string LetAppsAccessPhone_ForceAllowTheseApps;
  sint32 LetAppsAccessPhone;
  string LetAppsAccessMotion_UserInControlOfTheseApps;
  string LetAppsAccessNotifications_UserInControlOfTheseApps;
  string LetAppsAccessNotifications_ForceDenyTheseApps;
  string LetAppsAccessNotifications_ForceAllowTheseApps;
  sint32 LetAppsAccessNotifications;
  string LetAppsAccessMotion_ForceDenyTheseApps;
  string LetAppsAccessMotion_ForceAllowTheseApps;
  sint32 LetAppsAccessMotion;
  string LetAppsAccessMicrophone_UserInControlOfTheseApps;
  string LetAppsAccessMicrophone_ForceDenyTheseApps;
  string LetAppsAccessMicrophone_ForceAllowTheseApps;
  sint32 LetAppsAccessMicrophone;
  string LetAppsAccessMessaging_UserInControlOfTheseApps;
  string LetAppsAccessMessaging_ForceDenyTheseApps;
  string LetAppsAccessMessaging_ForceAllowTheseApps;
  sint32 LetAppsAccessMessaging;
  string LetAppsAccessLocation_UserInControlOfTheseApps;
  string LetAppsAccessLocation_ForceDenyTheseApps;
  string LetAppsAccessLocation_ForceAllowTheseApps;
  sint32 LetAppsAccessLocation;
  string LetAppsAccessEmail_UserInControlOfTheseApps;
  string LetAppsAccessEmail_ForceDenyTheseApps;
  string LetAppsAccessEmail_ForceAllowTheseApps;
  sint32 LetAppsAccessEmail;
  string LetAppsAccessContacts_UserInControlOfTheseApps;
  string LetAppsAccessContacts_ForceDenyTheseApps;
  string LetAppsAccessContacts_ForceAllowTheseApps;
  sint32 LetAppsAccessContacts;
  string LetAppsAccessCamera_UserInControlOfTheseApps;
  string LetAppsAccessCamera_ForceDenyTheseApps;
  string LetAppsAccessCamera_ForceAllowTheseApps;
  sint32 LetAppsAccessCamera;
  string LetAppsAccessCallHistory_UserInControlOfTheseApps;
  string LetAppsAccessCallHistory_ForceDenyTheseApps;
  string LetAppsAccessCallHistory_ForceAllowTheseApps;
  sint32 LetAppsAccessCallHistory;
  string LetAppsAccessCalendar_UserInControlOfTheseApps;
  string LetAppsAccessCalendar_ForceDenyTheseApps;
  string LetAppsAccessCalendar_ForceAllowTheseApps;
  sint32 LetAppsAccessCalendar;
  string LetAppsAccessAccountInfo_UserInControlOfTheseApps;
  string LetAppsAccessAccountInfo_ForceDenyTheseApps;
  string LetAppsAccessAccountInfo_ForceAllowTheseApps;
  sint32 LetAppsAccessAccountInfo;
  sint32 DisableAdvertisingId;
  sint32 EnableActivityFeed;
};

成員

MDM_Policy_Config01_Privacy02類別具有下列類型的成員:

屬性

MDM_Policy_Config01_Privacy02類別具有這些屬性。

AllowAutoAcceptPairingAndPrivacyConsentPrompts

資料類型: sint32

存取類型:讀取/寫入

AllowInputPersonalization

資料類型: sint32

存取類型:讀取/寫入

DisableAdvertisingId

資料類型: sint32

存取類型:讀取/寫入

EnableActivityFeed

資料類型: sint32

存取類型:讀取/寫入

InstanceID

資料類型: 字串

存取類型:唯讀

限定詞: 索引鍵

識別父節點的名稱。 在此類別中,字串為 「Privacy」。

LetAppsAccessAccountInfo

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessAccountInfo_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessAccountInfo_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessAccountInfo_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCalendar

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessCalendar_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCalendar_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCalendar_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCallHistory

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessCallHistory_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCallHistory_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCallHistory_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCamera

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessCamera_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCamera_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessCamera_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessContacts

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessContacts_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessContacts_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessContacts_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessEmail

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessEmail_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessEmail_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessEmail_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessLocation

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessLocation_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessLocation_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessLocation_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMessaging

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessMessaging_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMessaging_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMessaging_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMicrophone

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessMicrophone_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMicrophone_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMicrophone_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMotion

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessMotion_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMotion_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessMotion_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessNotifications

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessNotifications_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessNotifications_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessNotifications_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessPhone

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessPhone_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessPhone_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessPhone_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessRadios

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessRadios_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessRadios_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessRadios_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTasks

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessTasks_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTasks_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTasks_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTrustedDevices

資料類型: sint32

存取類型:讀取/寫入

LetAppsAccessTrustedDevices_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTrustedDevices_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsAccessTrustedDevices_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsGetDiagnosticInfo

資料類型: sint32

存取類型:讀取/寫入

LetAppsGetDiagnosticInfo_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsGetDiagnosticInfo_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsGetDiagnosticInfo_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsRunInBackground

資料類型: sint32

存取類型:讀取/寫入

LetAppsRunInBackground_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsRunInBackground_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsRunInBackground_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsSyncWithDevices

資料類型: sint32

存取類型:讀取/寫入

LetAppsSyncWithDevices_ForceAllowTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsSyncWithDevices_ForceDenyTheseApps

資料類型: 字串

存取類型:讀取/寫入

LetAppsSyncWithDevices_UserInControlOfTheseApps

資料類型: 字串

存取類型:讀取/寫入

ParentID

資料類型: 字串

存取類型:唯讀

限定詞: 金鑰

描述父節點的完整路徑。 針對這個類別,字串為 「./Vendor/MSFT/Policy/Config」

PublishUserActivities

資料類型: sint32

存取類型:讀取/寫入

規格需求

需求
最低支援的用戶端
Windows 10 [僅限傳統型應用程式]
最低支援的伺服器
都不支援
命名空間
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll

另請參閱

使用 PowerShell 指令碼搭配 WMI 橋接器提供者