AFGlobalSettings.PIServersDirectoryOptions Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static PISystemsAFDirectoryOptions PIServersDirectoryOptions { get; set; }
Public Shared Property PIServersDirectoryOptions As PISystemsAFDirectoryOptions Get Set Dim value As PISystemsAFDirectoryOptions value = AFGlobalSettings.PIServersDirectoryOptions AFGlobalSettings.PIServersDirectoryOptions = value
public: static property PISystemsAFDirectoryOptions PIServersDirectoryOptions { PISystemsAFDirectoryOptions get (); void set (PISystemsAFDirectoryOptions value); }
static member PIServersDirectoryOptions : PISystemsAFDirectoryOptions with get, set
Property Value
Type: PISystemsAFDirectoryOptionsReturns the directory options used when looking up a PIServer in the collection.
Remarks
The collection methods used to look up a PIServer in the collection use the value of this property to control their behavior. When the CheckIP directory option is enabled and a host address cannot be resolved, the PIServer is added to a bad address list. The MinCheckIPTimeout and MaxCheckIPTimeout settings determine the minimum and maximum timeouts before an invalid PIServer address is checked again.
The default value for this property is read from the SDK's configuration file in the OSI directory under the CommonApplicationData directory. This default value will be the default for all clients executed on the computer. If this property is modified in the client, then it will only affect the current client and the modified value will not be persisted.