SetPIDataArchiveConnectionConfiguration.Port Property
- Last UpdatedDec 15, 2025
- 2 minute read
TCP port for the PI Data Archive. This is typically set to "5450".
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 2, Mandatory = false, ParameterSetName = "Standalone", HelpMessage = "Network Port")] [ValidateNotNullOrEmptyAttribute] public int Port { get; set; }
<ParameterAttribute(Position := 2, Mandatory := false, ParameterSetName := "Standalone", HelpMessage := "Network Port")> <ValidateNotNullOrEmptyAttribute> Public Property Port As Integer Get Set Dim instance As SetPIDataArchiveConnectionConfiguration Dim value As Integer value = instance.Port instance.Port = value
public: [ParameterAttribute(Position = 2, Mandatory = false, ParameterSetName = L"Standalone", HelpMessage = L"Network Port")] [ValidateNotNullOrEmptyAttribute] property int Port { int get (); void set (int value); }
[<ParameterAttribute(Position = 2, Mandatory = false, ParameterSetName = "Standalone", HelpMessage = "Network Port")>] [<ValidateNotNullOrEmptyAttribute>] member Port : int with get, set