AFPort.MaxConnections Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: Int32Specifies 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.