AFConnection.SourcePort Property
- Last UpdatedNov 18, 2025
- 1 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property returns the source AFPort for the connection.
Namespace: OSIsoft.AF.Modeling
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFPort SourcePort { get; }
Public ReadOnly Property SourcePort As AFPort Get Dim instance As AFConnection Dim value As AFPort value = instance.SourcePort
public: property AFPort^ SourcePort { AFPort^ get (); }
member SourcePort : AFPort with get
Property Value
Type: AFPortReturns the source AFPort for the connection. If the connection is undirected, then source and destination can be in either order.