Share via


MdmSessionState Enum

Definition

The various states of an MDM session.

public enum class MdmSessionState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class MdmSessionState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum MdmSessionState
var value = Windows.Management.MdmSessionState.notStarted
Public Enum MdmSessionState
Inheritance
MdmSessionState
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
NotStarted 0

The MDM session has not started.

Starting 1

The MDM session is starting.

Connecting 2

The MDM session is connecting to the server.

Communicating 3

The MDM session is communicating with the server.

AlertStatusAvailable 4

The MDM session has an alert status available.

Retrying 5

The MDM session is retrying.

Completed 6

The MDM session is complete.

Applies to