Partager via


MdmPolicy Classe

Définition

Stratégie GPM (Mobile Gestion des appareils).

public ref class MdmPolicy abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MdmPolicy final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MdmPolicy final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class MdmPolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class MdmPolicy
Public Class MdmPolicy
Héritage
Object Platform::Object IInspectable MdmPolicy
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Remarques

Historique des versions

Version de Windows Version du SDK Valeur ajoutée
1607 14393 GetMessagingSyncPolicy

Méthodes

GetMessagingSyncPolicy()

Obtient la stratégie de synchronisation de messagerie actuelle.

IsBrowserAllowed()

Retourne true si un navigateur est autorisé.

IsCameraAllowed()

Retourne true si une caméra est autorisée.

IsMicrosoftAccountAllowed()

Retourne true si un compte Microsoft est autorisé.

IsStoreAllowed()

Retourne true si un Store est autorisé.

S’applique à