MIP.LoadPolicyProfileAsync(PolicyProfileSettings) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.