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

AF SDK Reference

AFConnectionProtocol Enumeration

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFConnectionProtocol Enumeration
Defines the connection protocol used to communicate with the PI AF Server.

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public enum AFConnectionProtocol
Public Enumeration AFConnectionProtocol

Dim instance As AFConnectionProtocol
public enum class AFConnectionProtocol
type AFConnectionProtocol

Members

  Member nameValueDescription
Tcp0 A secure, reliable binding suitable for cross-machine communication using TCP for message delivery and a binary message encoding.
NamedPipe1 A secure, reliable binding suitable for communication on the same machine using a named pipe for message delivery and a binary message encoding. This protocol has better throughput than Tcp when the client and server are on the same machine.

Remarks

The connection protocol is used when defining the AFConnectionInfo.Protocol property.

Version Information

AFSDK


See Also

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