SessionLimitType is an enumeration of the properties: 0 = ActiveSessionLimit, 1 = DisconnectedSessionLimit and 2 = IdleSessionLimitwhich ...

SessionLimitType is an enumeration of the properties: 0 = ActiveSessionLimit, 1 = DisconnectedSessionLimit and 2 = IdleSessionLimitwhich specify the Maximum allowed time for Active Session, Disconnected Session NEVER for all three and Idle session limits and Value specifies the time in milliseconds. The call returns 0 for success in case of Server-Override mode and an error if the policy was set to Group policy.