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

AF SDK Reference

AFCollectiveMember.Port Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCollectiveMember.Port Property
Read/write property that is the port number used to connect to the PI AF Server for this AFCollectiveMember on the remote host.

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

Syntax

public int Port { get; set; }
Public Property Port As Integer
	Get
	Set

Dim instance As AFCollectiveMember
Dim value As Integer

value = instance.Port

instance.Port = value
public:
property int Port {
	int get ();
	void set (int value);
}
member Port : int with get, set

Property Value

Type: Int32
The port number used to connect to the PI AF Server for this AFCollectiveMember on the remote host.

Version Information

AFSDK


See Also

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