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

访问类型:读/写

禁用广告 ID

数据类型: 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

数据类型: string

访问类型:读/写

LetAppsAccessEmail_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessLocation

数据类型: sint32

访问类型:读/写

LetAppsAccessLocation_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessLocation_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessLocation_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMessaging

数据类型: sint32

访问类型:读/写

LetAppsAccessMessaging_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMessaging_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMessaging_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMicrophone

数据类型: sint32

访问类型:读/写

LetAppsAccessMicrophone_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMicrophone_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMicrophone_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMotion

数据类型: sint32

访问类型:读/写

LetAppsAccessMotion_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMotion_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessMotion_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessNotifications

数据类型: sint32

访问类型:读/写

LetAppsAccessNotifications_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessNotifications_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessNotifications_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessPhone

数据类型: sint32

访问类型:读/写

LetAppsAccessPhone_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessPhone_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessPhone_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessRadios

数据类型: sint32

访问类型:读/写

LetAppsAccessRadios_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessRadios_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessRadios_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTasks

数据类型: sint32

访问类型:读/写

LetAppsAccessTasks_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTasks_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTasks_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTrustedDevices

数据类型: sint32

访问类型:读/写

LetAppsAccessTrustedDevices_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTrustedDevices_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsAccessTrustedDevices_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsGetDiagnosticInfo

数据类型: sint32

访问类型:读/写

LetAppsGetDiagnosticInfo_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsGetDiagnosticInfo_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsGetDiagnosticInfo_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsRunInBackground

数据类型: sint32

访问类型:读/写

LetAppsRunInBackground_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsRunInBackground_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsRunInBackground_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

LetAppsSyncWithDevices

数据类型: sint32

访问类型:读/写

LetAppsSyncWithDevices_ForceAllowTheseApps

数据类型: string

访问类型:读/写

LetAppsSyncWithDevices_ForceDenyTheseApps

数据类型: string

访问类型:读/写

LetAppsSyncWithDevices_UserInControlOfTheseApps

数据类型: string

访问类型:读/写

ParentID

数据类型: string

访问类型:只读

限定符:

描述父节点的完整路径。 对于此类,字符串为“./Vendor/MSFT/Policy/Config”

PublishUserActivities

数据类型: sint32

访问类型:读/写

要求

要求
最低受支持的客户端
Windows 10 [仅限桌面应用]
最低受支持的服务器
无受支持的版本
命名空间
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll

另请参阅

结合使用 PowerShell 脚本和 WMI Bridge 提供程序