Visual Basic (Declaration) | |
---|---|
Public Shared Property SysUpTime As Long |
Visual Basic (Usage) | ![]() |
---|---|
Dim value As Long MessageBase.SysUpTime = value value = MessageBase.SysUpTime |
C# | |
---|---|
public static long SysUpTime {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property static long get_SysUpTime(); public: __property static void set_SysUpTime( long value ); |
Property Value
This property is initialized to 0 when the library is loaded (normally at the time your application starts).This value is used to initialize TrapMessage.SysUpTime and SysUpTime when they are encoded.
This value is also used by the ResponseMessage.ResponseMessage Constructor(RequestMessage,VariableList) constructor when creating a ResponseMessage if MessageBase.Variables contains a sysUpTime Variable.
Applications can set this property to other values to indicate the Agent has been up for a different length of time.
Target Platforms: Microsoft .NET Framework 2.0