DataProtectionManager.UnprotectStreamAsync Methode

Definition

Hinweis

Ab Juli 2022 stellt Microsoft Windows Information Protection (WIP) und die APIs, die WIP unterstützen, als veraltet fest. Microsoft wird WIP weiterhin auf unterstützten Versionen von Windows unterstützen. Neue Versionen von Windows enthalten keine neuen Funktionen für WIP und werden in zukünftigen Versionen von Windows nicht unterstützt. Weitere Informationen finden Sie unter Ankündigung des Sonnenuntergangs von Windows Information Protection.

Für Ihre Datenschutzanforderungen empfiehlt Microsoft, dass Sie Microsoft Purview Information Protection und Microsoft Purview Data Loss Prevention verwenden. Purview vereinfacht die Konfiguration und bietet einen erweiterten Satz von Funktionen.

Entfernt den Schutz einer Unternehmensidentität aus einem Datenstrom.

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)

Parameter

protectedStream
IInputStream

Der geschützte Eingabedatenstrom.

unprotectedStream
IOutputStream

Der nicht geschützte Ausgabedatenstrom.

Gibt zurück

Wenn der Aufruf dieser Methode erfolgreich abgeschlossen wurde, wird ein DataProtectionInfo-Objekt zurückgegeben, das die status des nicht geschützten Datenstroms enthält.

Attribute

Windows-Anforderungen

App-Funktionen
enterpriseDataPolicy

Hinweise

Weitere Informationen finden Sie in den Hinweisen in der UnprotectStreamAsync-Methode .

Gilt für:

Weitere Informationen