Win32_PnPDevicePropertyDateTime class

Represents a PnP device property of type datetime.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class Win32_PnPDevicePropertyDateTime : Win32_PnPDeviceProperty
{
  string   Key;
  string   KeyName;
  Uint32   Type;
  string   DeviceID;
  datetime Data;
};

Members

The Win32_PnPDevicePropertyDateTime class has these types of members:

Properties

The Win32_PnPDevicePropertyDateTime class has these properties.

Data
Data type: datetime
Access type: Read-only

The property value.

DeviceID
Data type: string
Access type: Read-only

Identifies the PnP device.

This property is inherited from Win32_PnPDeviceProperty.

Key
Data type: string
Access type: Read-only

The value of the Key Name-Value pair that identifies the Data property.

This property is inherited from Win32_PnPDeviceProperty.

KeyName
Data type: string
Access type: Read-only

The name of the Key Name-Value pair that identifies the Data property.

This property is inherited from Win32_PnPDeviceProperty.

Type
Data type: Uint32
Access type: Read-only

The type of the Data property.

This property is inherited from Win32_PnPDeviceProperty.

The possible values are.

Empty (0)

Null (1)

SByte (2)

Byte (3)

Int16 (4)

UInt16 (5)

Int32 (6)

Uint32 (7)

Int64 (8)

UInt64 (9)

Float (10)

Double (11)

Decimal (12)

Guid (13)

Currency (14)

Date (15)

FileTime (16)

Boolean (17)

String (18)

SecurityDescriptor (19)

SecurityDescriptorString (20)

DEVPROPKEY (21)

DEVPROPTYPE (22)

Error (23)

NTStatus (24)

StringIndirect (25)

Reserved

26–4097

SByteArray (4098)

Binary (4099)

Int16Array (4100)

UInt16Array (4101)

Int64Array (4102)

UInt64Array (4103)

FloatArray (4104)

DoubleArray (4105)

DecimalArray (4106)

GuidArray (4107)

CurrencyArray (4108)

DateArray (4109)

FileTimeArray (4110)

BooleanArray (4111)

StringList (4112)

SecurityDescriptorList (4113)

SecurityDescriptorStringList (8210)

DEVPROPKEYArray (8211)

DEVPROPTYPEArray (8212)

ErrorArray (4117)

NTStatusArray (4118)

StringIndirectList (4119)

Unknown - check in devpropdef.h (4120)

TBD (8217)

Reserved

8218–4294967295

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview

Namespace

Root\CIMV2

MOF

Cimwin32.mof

DLL

CIMWin32.dll

See also

Win32_PnPDeviceProperty

 

 

Show: