EnterpriseEnrollmentManager
EnterpriseEnrollmentManager
EnterpriseEnrollmentManager
EnterpriseEnrollmentManager
Class
Definition
Manages enrollment in an enterprise.
public : static class EnterpriseEnrollmentManagerpublic static class EnterpriseEnrollmentManagerPublic Static Class EnterpriseEnrollmentManager// This API is not available in Javascript.
- 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 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// This API is not available in Javascript.
The enrolled enterprise for the current app.
EnrolledEnterprises 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>// This API is not available in Javascript.
- Value
- IVectorView<Enterprise> IReadOnlyList<Enterprise> IReadOnlyList<Enterprise> IReadOnlyList<Enterprise>
The list of all the enterprises in which the user is enrolled.
Methods
RequestEnrollmentAsync(String) 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 )// This API is not available in Javascript.
Parameters
- enrollmentToken
- PlatForm::String String String String
The Uri for the enterprise to enroll.
Returns
IAsyncOperation<EnterpriseEnrollmentResult>
IAsyncOperation<EnterpriseEnrollmentResult>
IAsyncOperation<EnterpriseEnrollmentResult>
IAsyncOperation<EnterpriseEnrollmentResult>
The asynchronous operation that reports the result of the enrollment action.
RequestUnenrollmentAsync(Enterprise) 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 )// This API is not available in Javascript.
Parameters
- enterprise
- Enterprise Enterprise Enterprise Enterprise
The Uri of the enterprise to unenroll.
Returns
IAsyncOperation<PlatForm::Boolean>
IAsyncOperation<bool>
IAsyncOperation<bool>
IAsyncOperation<bool>
The asynchronous operation that reports the result of the enrollment action.
ValidateEnterprisesAsync() 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// This API is not available in Javascript.
Returns
The asynchronous action that represents the validation.