Share via


DataProtectionManager.UnprotectStreamAsync Méthode

Définition

Notes

À compter de juillet 2022, Microsoft déprécie Windows Information Protection (WIP) et les API qui prennent en charge WIP. Microsoft continuera à prendre en charge WIP sur les versions prises en charge de Windows. Les nouvelles versions de Windows n’incluront pas de nouvelles fonctionnalités pour WIP et ne seront pas prises en charge dans les futures versions de Windows. Pour plus d’informations, consultez Annonce de l’extinction de Windows Information Protection.

Pour vos besoins en matière de protection des données, Microsoft vous recommande d’utiliser Protection des données Microsoft Purview et Protection contre la perte de données Microsoft Purview. Purview simplifie la configuration et fournit un ensemble avancé de fonctionnalités.

Supprime la protection d’une identité d’entreprise d’un flux de données.

public:
 static IAsyncOperation<DataProtectionInfo ^> ^ UnprotectStreamAsync(IInputStream ^ protectedStream, IOutputStream ^ unprotectedStream);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<DataProtectionInfo> UnprotectStreamAsync(IInputStream const& protectedStream, IOutputStream const& unprotectedStream);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<DataProtectionInfo> UnprotectStreamAsync(IInputStream protectedStream, IOutputStream unprotectedStream);
function unprotectStreamAsync(protectedStream, unprotectedStream)
Public Shared Function UnprotectStreamAsync (protectedStream As IInputStream, unprotectedStream As IOutputStream) As IAsyncOperation(Of DataProtectionInfo)

Paramètres

protectedStream
IInputStream

Flux protégé d’entrée.

unprotectedStream
IOutputStream

Flux de sortie non protégé.

Retours

Lorsque l’appel à cette méthode se termine correctement, il retourne un objet DataProtectionInfo qui contient la status du flux non protégé.

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
enterpriseDataPolicy

Remarques

Consultez les remarques dans la méthode UnprotectStreamAsync .

S’applique à

Voir aussi