DataPackageView.RequestAccessAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
企業識別碼。
傳回
此方法完成時,它會傳回保護原則評估的結果,指出資料是否可供存取。
- 屬性