Поделиться через


MDM_WNSChannel class

Represents the Windows Notification Service (WNS) channel used for notifications to the MDM agent.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("MDMSettingsProv"), AMENDMENT]
class MDM_WNSChannel
{
  string   AppId;
  string   UserSID;
  string   Channel;
  datetime ExpirationTime;
  uint32   ChannelStatus;
  uint32   LastError;
};

Members

The MDM_WNSChannel class has these types of members:

Properties

The MDM_WNSChannel class has these properties.

AppId

Data type: string

Access type: Read-only

Qualifiers: key

Identifies the MDM application.

Channel

Data type: string

Access type: Read-only

Identifies the channel created for WNS notifications for the MDM user on this device.

ChannelStatus

Data type: uint32

Access type: Read-only

The WNS channel creation status.

(0)

(1)

ExpirationTime

Data type: datetime

Access type: Read-only

The expiration time for the WNS channel.

LastError

Data type: uint32

Access type: Read-only

The error code reported if WNS channel creation fails.

UserSID

Data type: string

Access type: Read-only

The security identifier (SID) of the enrolled user.

Requirements

Minimum supported client
Windows 8
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll

See also

Mobile Device Management Settings Classes