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

AF SDK Reference

AFConnectionInfo.Protocol Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFConnectionInfo.Protocol Property
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: AFConnectionProtocol
The protocol used to connect to the PI AF Server for this PISystem on the remote host.
Important note Important
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.

Version Information

AFSDK


See Also

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