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

AF SDK Reference

AFConnection.SourcePort Property

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFConnection.SourcePort Property
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: AFPort
Returns the source AFPort for the connection. If the connection is undirected, then source and destination can be in either order.

Version Information

AFSDK


See Also

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