AFConnectionInfo.Host Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This property is the name of the host machine where the PI AF Server
for this PISystem is executing.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public string Host { get; set; }
Public Property Host As String Get Set Dim instance As AFConnectionInfo Dim value As String value = instance.Host instance.Host = value
public: property String^ Host { String^ get (); void set (String^ value); }
member Host : string with get, set
Property Value
Type: StringThe name of the host machine where the PI AF Server for this PISystem is executing.
| This property can only be modified when disconnected from the server. |
Remarks
If the PISystem is part of a AFCollective, then this
property can only be modified by editing the AFCollectiveMember
settings.