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

PI Powershell

AddAFPort.MaxConnections Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFPort.MaxConnections Property

Maximum number of connections to allow on the AF Port to add

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Maximum Connections")]
[ValidateNotNullOrEmptyAttribute]
public int MaxConnections { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "Maximum Connections")>
<ValidateNotNullOrEmptyAttribute>
Public Property MaxConnections As Integer
	Get
	Set

Dim instance As AddAFPort
Dim value As Integer

value = instance.MaxConnections

instance.MaxConnections = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"Maximum Connections")]
[ValidateNotNullOrEmptyAttribute]
property int MaxConnections {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Maximum Connections")>]
[<ValidateNotNullOrEmptyAttribute>]
member MaxConnections : int with get, set

Property Value

Type: Int32

See Also

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