PIConnectionInfo.Host Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property is the name of the host machine where the PIServer
is executing.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string Host { get; set; }
Public Property Host As String Get Set Dim instance As PIConnectionInfo 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 PIServer is executing.
| This property can only be modified when disconnected from the server. |
Remarks
If the PIServer is part of a PICollective, then this
property can only be modified by editing the PICollectiveMember
settings.