Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFNotificationRuleSearch.GetObjectFields Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFNotificationRuleSearch.GetObjectFields Method
Get the list of valid object fields that can used for the FindObjectFields(String, Int32, Int32) search for the specified server.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static ICollection<string> GetObjectFields(
	PISystem system = null
)
Public Shared Function GetObjectFields ( 
	Optional system As PISystem = Nothing
) As ICollection(Of String)

Dim system As PISystem
Dim returnValue As ICollection(Of String)

returnValue = AFNotificationRuleSearch.GetObjectFields(system)
public:
static ICollection<String^>^ GetObjectFields(
	PISystem^ system = nullptr
)
static member GetObjectFields : 
        ?system : PISystem 
(* Defaults:
        let _system = defaultArg system null
*)
-> ICollection<string> 

Parameters

system (Optional)
Type: OSIsoft.AFPISystem
The server used to determine if an object field is valid. If , then the full list of valid object fields are returned for all servers.

Return Value

Type: ICollectionString
Returns the read-only list of valid object fields that can used for the FindObjectFields(String, Int32, Int32) search for the specified server.

Remarks

This method will return the list of object fields that are valid to be used in the FindObjectFields(String, Int32, Int32) search for the specified system.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in