AFConnectionInfo.Protocol Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Read/write property that is the protocol used to connect to the PI AF Server for
this PISystem on the remote host.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFConnectionProtocol Protocol { get; set; }
Public Property Protocol As AFConnectionProtocol Get Set Dim instance As AFConnectionInfo Dim value As AFConnectionProtocol value = instance.Protocol instance.Protocol = value
public: property AFConnectionProtocol Protocol { AFConnectionProtocol get (); void set (AFConnectionProtocol value); }
member Protocol : AFConnectionProtocol with get, set
Property Value
Type: AFConnectionProtocolThe protocol used to connect to the PI AF Server for this PISystem on the remote host.
| This property can only be modified when disconnected from the PI AF Server and is not a connection to a server hosted by OSIsoft. |
Remarks
If the PISystem is part of a AFCollective, then this
property can only be modified by editing the AFCollectiveMember
settings.