Share via


OnlineStatusProperty Class

 

Represents the online status properties of the device.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.Devices.DeviceProperty
    Microsoft.WindowsServerSolutions.Common.Devices.OnlineStatusProperty

Syntax

[DataContractAttribute]
public sealed class OnlineStatusProperty : DeviceProperty
[DataContractAttribute]
public ref class OnlineStatusProperty sealed : DeviceProperty
<DataContractAttribute>
Public NotInheritable Class OnlineStatusProperty
    Inherits DeviceProperty

Properties

Name Description
System_CAPS_pubproperty PropertyName

Gets the name of the property.(Inherited from DeviceProperty.)

System_CAPS_pubproperty Status

Gets the online or offline status of the device.

System_CAPS_pubproperty Timestamp

Gets the timestamp for the device.(Inherited from DeviceProperty.)

Methods

Name Description
System_CAPS_pubmethod Equals(DeviceProperty)

Compares one OnlineStatusProperty object to another OnlineStatusProperty object.(Overrides DeviceProperty.Equals(DeviceProperty).)

System_CAPS_pubmethod Equals(Object)

Calls the Equals method with the specified object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for the OnlineStatusProperty object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string representation of the properties.(Overrides Object.ToString().)

System_CAPS_pubmethod UpdateDeviceInfo(DeviceInfo)

Updates the device information.

Remarks

An instance of OnlineStatusProperty must be created by using the CreateOnlineStatusProperty method.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top