Share via


Computer.UpdateLastContactTime Method

Updates the time when the last heartbeat was received from a non-Windows computer.

 public void UpdateLastContactTime(
    DateTime timeContacted
);

Parameters

  • timeContacted
    The heartbeat date and time, in UTC format.

Exceptions

Exception Type Condition
System.InvalidOperationException The value of the computer's Type property was not ComputerTypes.NonWindows.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)

See Also

Computer Class | Computer Members