Share via


FileProtectionManager.SaveFileAsContainerAsync 메서드

정의

오버로드

SaveFileAsContainerAsync(IStorageFile)

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

엔터프라이즈로 보호된 파일을 컨테이너화된 버전으로 저장합니다.

SaveFileAsContainerAsync(IStorageFile, IIterable<String>)

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

엔터프라이즈로 보호된 파일을 컨테이너화된 버전으로 저장하고 지정된 사용자 ID 목록과 공유합니다.

SaveFileAsContainerAsync(IStorageFile)

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

엔터프라이즈로 보호된 파일을 컨테이너화된 버전으로 저장합니다.

public:
 static IAsyncOperation<ProtectedContainerExportResult ^> ^ SaveFileAsContainerAsync(IStorageFile ^ protectedFile);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile const& protectedFile);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Overload("SaveFileAsContainerAsync")]
 static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile const& protectedFile);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile protectedFile);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Overload("SaveFileAsContainerAsync")]
public static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile protectedFile);
function saveFileAsContainerAsync(protectedFile)
Public Shared Function SaveFileAsContainerAsync (protectedFile As IStorageFile) As IAsyncOperation(Of ProtectedContainerExportResult)

매개 변수

protectedFile
IStorageFile

복사되는 보호된 원본 파일입니다.

반환

이 메서드에 대한 호출이 성공적으로 완료되면 새로 만든 컨테이너 파일을 나타내는 ProtectedContainerExportResult 개체를 반환합니다.

특성

추가 정보

적용 대상

SaveFileAsContainerAsync(IStorageFile, IIterable<String>)

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

엔터프라이즈로 보호된 파일을 컨테이너화된 버전으로 저장하고 지정된 사용자 ID 목록과 공유합니다.

public:
 static IAsyncOperation<ProtectedContainerExportResult ^> ^ SaveFileAsContainerAsync(IStorageFile ^ protectedFile, IIterable<Platform::String ^> ^ sharedWithIdentities);
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("SaveFileAsContainerWithSharingAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile const& protectedFile, IIterable<winrt::hstring> const& sharedWithIdentities);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("SaveFileAsContainerWithSharingAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ProtectedContainerExportResult> SaveFileAsContainerAsync(IStorageFile protectedFile, IEnumerable<string> sharedWithIdentities);
function saveFileAsContainerAsync(protectedFile, sharedWithIdentities)
Public Shared Function SaveFileAsContainerAsync (protectedFile As IStorageFile, sharedWithIdentities As IEnumerable(Of String)) As IAsyncOperation(Of ProtectedContainerExportResult)

매개 변수

protectedFile
IStorageFile

복사되는 보호된 원본 파일입니다.

sharedWithIdentities

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

컨테이너화된 파일을 공유할 사용자 ID를 나타내는 문자열의 컬렉션입니다. 예를 들어 전자 메일 받는 사람입니다.

반환

이 메서드에 대한 호출이 성공적으로 완료되면 새로 만든 컨테이너 파일을 나타내는 ProtectedContainerExportResult 개체를 반환합니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10586.0에서 도입되었습니다.)
Windows Mobile Extension SDK (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v2.0에서 도입되었습니다.)

추가 정보

적용 대상