MIP.LoadPolicyProfileAsync(PolicyProfileSettings) Method

Definition

Starts loading a profile based on the provided settings.

public static System.Threading.Tasks.Task<Microsoft.InformationProtection.Policy.IPolicyProfile> LoadPolicyProfileAsync (Microsoft.InformationProtection.Policy.PolicyProfileSettings profileSettings);
static member LoadPolicyProfileAsync : Microsoft.InformationProtection.Policy.PolicyProfileSettings -> System.Threading.Tasks.Task<Microsoft.InformationProtection.Policy.IPolicyProfile>
Public Shared Function LoadPolicyProfileAsync (profileSettings As PolicyProfileSettings) As Task(Of IPolicyProfile)

Parameters

profileSettings
PolicyProfileSettings

profile settings used to load the profile object.

Returns

A task that represents the asynchronous load operation. The value of the TResult parameter contains the IPolicyProfile.

Applies to