DataPackageView.RequestAccessAsync 方法

定义

重载

RequestAccessAsync()

请求解锁和访问受保护策略保护的数据包的权限。

RequestAccessAsync(String)

请求解锁和访问受保护策略保护的数据包的权限。

RequestAccessAsync()

请求解锁和访问受保护策略保护的数据包的权限。

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)

返回

此方法完成后,它将返回保护策略评估的结果,该结果指示数据是否可访问。

属性

另请参阅

适用于

RequestAccessAsync(String)

请求解锁和访问受保护策略保护的数据包的权限。

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)

参数

enterpriseId
String

Platform::String

winrt::hstring

企业 ID。

返回

此方法完成后,它将返回保护策略评估的结果,该结果指示数据是否可访问。

属性

另请参阅

适用于