Share via


DataPackageView.RequestAccessAsync Method

Definition

Overloads

RequestAccessAsync()

Requests permission to unlock and access a data package that is secured with a protection policy.

RequestAccessAsync(String)

Requests permission to unlock and access a data package that is secured with a protection policy.

RequestAccessAsync()

Requests permission to unlock and access a data package that is secured with a protection policy.

public:
 virtual IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync() = RequestAccessAsync;
/// [Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync();
/// [Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync();
[Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync();
[Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
public IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync();
function requestAccessAsync()
Public Function RequestAccessAsync () As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

Returns

When this method completes, it returns the results of the protection policy evaluation, which indicates whether or not the data is accessible.

Attributes

See also

Applies to

RequestAccessAsync(String)

Requests permission to unlock and access a data package that is secured with a protection policy.

public:
 virtual IAsyncOperation<ProtectionPolicyEvaluationResult> ^ RequestAccessAsync(Platform::String ^ enterpriseId) = RequestAccessAsync;
/// [Windows.Foundation.Metadata.Overload("RequestAccessWithEnterpriseIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& enterpriseId);
/// [Windows.Foundation.Metadata.Overload("RequestAccessWithEnterpriseIdAsync")]
IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(winrt::hstring const& enterpriseId);
[Windows.Foundation.Metadata.Overload("RequestAccessWithEnterpriseIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string enterpriseId);
[Windows.Foundation.Metadata.Overload("RequestAccessWithEnterpriseIdAsync")]
public IAsyncOperation<ProtectionPolicyEvaluationResult> RequestAccessAsync(string enterpriseId);
function requestAccessAsync(enterpriseId)
Public Function RequestAccessAsync (enterpriseId As String) As IAsyncOperation(Of ProtectionPolicyEvaluationResult)

Parameters

enterpriseId
String

Platform::String

winrt::hstring

The enterprise Id.

Returns

When this method completes, it returns the results of the protection policy evaluation, which indicates whether or not the data is accessible.

Attributes

See also

Applies to