PowerSNMP for .NET
SysUpTime Property (Agent)




Gets or sets the time since the agent was created, in hundredths of a second.
Syntax
Public Property SysUpTime As Long
Dim instance As Agent
Dim value As Long
 
instance.SysUpTime = value
 
value = instance.SysUpTime
public long SysUpTime {get; set;}
public: __property long get_SysUpTime();
public: __property void set_SysUpTime( 
   long value
);
public:
property int64 SysUpTime {
   int64 get();
   void set (    int64 value);
}

Property Value

Hundredths of a second since the Agent was created.
Remarks

Can be used to initialize Trap1Message.SysUpTime and Trap2Message.SysUpTime when they are created. Also used by ResponseMessage(RequestMessage, Agent) when creating a ResponseMessage if the requested Variables contain a sysUpTime IID.

Applications can change this property to specify an alternative value. For example, it may be reset to 0 if the Agent is reinitialized. If the value set exceeds UInt32.MinValue or UInt32.MaxValue then the value is set to 0.

See Also

Reference

Agent Class
Agent Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic