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

AF SDK Reference

AFPort.MaxConnections Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFPort.MaxConnections Property
This property specifies the maximum number of connections allowed for this port.

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

Syntax

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

Dim instance As AFPort
Dim value As Integer

value = instance.MaxConnections

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

Property Value

Type: Int32
Specifies the maximum number of connections allowed for this port when connecting elements within an AFModel. The default value of Int32.MaxValue indicates that the number of connections is unlimited. The value of this property cannot be decreased to less than the existing number of connections used by this port.

Version Information

AFSDK


See Also

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