AFSessionSortField Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Defines the AFSession field that is sorted.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFSessionSortField
Public Enumeration AFSessionSortField Dim instance As AFSessionSortField
public enum class AFSessionSortField
type AFSessionSortField
Members
| Member name | Value | Description | |
|---|---|---|---|
| StartTime | 0 | The returned collection is sorted on the StartTime field. | |
| EndTime | 1 | The returned collection is sorted on the EndTime field. | |
| ClientHost | 2 | The returned collection is sorted on the ClientHost field. | |
| ClientPort | 3 | The returned collection is sorted on the ClientPort field. | |
| UserName | 4 | The returned collection is sorted on the UserName field. | |
| AuthenticationType | 5 | The returned collection is sorted on the AuthenticationType field. |
Remarks
The enumeration is used when specifying the sort field for GetSessions(NullableAFTime, NullableAFTime, AFSessionSortField, AFSortOrder, Int32, Int32).