共用方式為


MDM_Restrictions class

Represents the configuration of restrictions on the device.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("MDMSettingsProv"), AMENDMENT]
class MDM_Restrictions
{
  Uint32  Key;
  boolean DiagnosticsSubmissionEnabled;
  boolean DataRoamingEnabled;
  boolean BluetoothEnabled;
  boolean WifiEnabled;
  boolean PCSettingsSyncEnabled;
  boolean PCSettingsMeteredNetworkSyncEnabled;
  boolean PCSettingsPasswordSyncEnabled;
  string  EcsSyncUrl;
  boolean EcsAutoProvisionEnabled;
  Uint32  UserAccountControlStatus;
  boolean SmartScreenEnabled;
  boolean IEEnterpriseModeEnabled;
  string  IEEnterpriseModeEnabledURL;
  string  IEEnterpriseModeSitelist;
};

Members

The MDM_Restrictions class has these types of members:

Properties

The MDM_Restrictions class has these properties.

BluetoothEnabled

Data type: boolean

Access type: Read-only

True if at least one Bluetooth device is found and is enabled on the device.

DataRoamingEnabled

Data type: boolean

Access type: Read-only

True if Data Roaming is enabled on the device.

DiagnosticsSubmissionEnabled

Data type: boolean

Access type: Read-only

True if Windows Error Reporting is enabled on the device.

EcsAutoProvisionEnabled

Data type: boolean

Access type: Read-only

True if the Enterprise Client Sync product is auto-provisioned.

EcsSyncUrl

Data type: string

Access type: Read-only

The URL of the Enterprise Client Sync product to which the client syncs.

IEEnterpriseModeEnabled

Data type: boolean

Access type: Read-only

True if Internet Explorer Enterprise Mode is enabled.

Windows 8.1: This property is not supported before Windows 8.1 Update.

IEEnterpriseModeEnabledURL

Data type: string

Access type: Read-only

Internet Explorer Enterprise Mode Reporting URL specified while enabling the value. For more information see Turn on Enterprise Mode and use a site list.

Windows 8.1: This property is not supported before Windows 8.1 Update.

IEEnterpriseModeSitelist

Data type: string

Access type: Read-only

Internet Explorer Enterprise Mode Reporting site list. For more information see Add multiple sites to the Enterprise Mode site list using a file and Enterprise Mode Site List Manager.

Windows 8.1: This property is not supported before Windows 8.1 Update.

Key

Data type: Uint32

Access type: Read-only

Qualifiers: key

Identifies the MDM_Restrictions class instance.

PCSettingsMeteredNetworkSyncEnabled

Data type: boolean

Access type: Read-only

True if the Sync settings over metered connection option under Change Settings is turned on.

PCSettingsPasswordSyncEnabled

Data type: boolean

Access type: Read-only

True if the Passwords option under Change Settings is turned on.

PCSettingsSyncEnabled

Data type: boolean

Access type: Read-only

True if the Sync your settings option under Change Settings is turned on.

SmartScreenEnabled

Data type: boolean

Access type: Read-only

True if Smart Screen is enabled.

UserAccountControlStatus

Data type: Uint32

Access type: Read-only

The current User Access Control level on the client.

Always Notify (0)

Notify App Changes (1)

Notify App Changes (No Dim) (2)

Never Notify (3)

WifiEnabled

Data type: boolean

Access type: Read-only

True if at least one enabled wireless network adapter is found on the device.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll

See also

Mobile Device Management Settings Classes