Enterprise​Enrollment​Manager Enterprise​Enrollment​Manager Enterprise​Enrollment​Manager Class

Definition

Manages enrollment in an enterprise.

public : static class EnterpriseEnrollmentManagerpublic static class EnterpriseEnrollmentManagerPublic Static Class EnterpriseEnrollmentManager
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Remarks

This is a static class.

Properties

CurrentEnterprise CurrentEnterprise CurrentEnterprise

Gets the enrolled enterprise for the current app.

public : static Enterprise CurrentEnterprise { get; }public static Enterprise CurrentEnterprise { get; }Public Static ReadOnly Property CurrentEnterprise As Enterprise
Value
Enterprise Enterprise Enterprise

The enrolled enterprise for the current app.

Attributes

EnrolledEnterprises EnrolledEnterprises EnrolledEnterprises

Gets the list of all the enterprises in which the user is enrolled.

public : static IVectorView<Enterprise> EnrolledEnterprises { get; }public static IReadOnlyList<Enterprise> EnrolledEnterprises { get; }Public Static ReadOnly Property EnrolledEnterprises As IReadOnlyList<Enterprise>
Value
IVectorView<Enterprise> IReadOnlyList<Enterprise> IReadOnlyList<Enterprise>

The list of all the enterprises in which the user is enrolled.

Attributes

Methods

RequestEnrollmentAsync(String) RequestEnrollmentAsync(String) RequestEnrollmentAsync(String)

Enrolls or re-enrolls the enterprise identified by the Uri.

public : static IAsyncOperation<EnterpriseEnrollmentResult> RequestEnrollmentAsync(PlatForm::String enrollmentToken)public static IAsyncOperation<EnterpriseEnrollmentResult> RequestEnrollmentAsync(String enrollmentToken)Public Static Function RequestEnrollmentAsync(enrollmentToken As String) As IAsyncOperation( Of EnterpriseEnrollmentResult )
Parameters
enrollmentToken
PlatForm::String String String

The Uri for the enterprise to enroll.

Returns
Attributes

RequestUnenrollmentAsync(Enterprise) RequestUnenrollmentAsync(Enterprise) RequestUnenrollmentAsync(Enterprise)

Unenrolls the enterprise identified by the Uri.

public : static IAsyncOperation<PlatForm::Boolean> RequestUnenrollmentAsync(Enterprise enterprise)public static IAsyncOperation<bool> RequestUnenrollmentAsync(Enterprise enterprise)Public Static Function RequestUnenrollmentAsync(enterprise As Enterprise) As IAsyncOperation( Of bool )
Parameters
enterprise
Enterprise Enterprise Enterprise

The Uri of the enterprise to unenroll.

Returns
IAsyncOperation<PlatForm::Boolean> IAsyncOperation<bool> IAsyncOperation<bool>

The asynchronous operation that reports the result of the enrollment action.

Attributes

ValidateEnterprisesAsync() ValidateEnterprisesAsync() ValidateEnterprisesAsync()

Triggers a connection that validates the user's enterprise enrollments.

public : static IAsyncAction ValidateEnterprisesAsync()public static IAsyncAction ValidateEnterprisesAsync()Public Static Function ValidateEnterprisesAsync() As IAsyncAction
Returns

The asynchronous action that represents the validation.

Attributes