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

PI Powershell

SetAFElementTemplate.DefaultInputPort Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFElementTemplate.DefaultInputPort Property

Default input port for the AF Element Template

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 7, Mandatory = false, HelpMessage = "AF Element Template Default Input Port")]
[ValidateNotNullOrEmptyAttribute]
public AFPort DefaultInputPort { get; set; }
<ParameterAttribute(Position := 7, Mandatory := false, HelpMessage := "AF Element Template Default Input Port")>
<ValidateNotNullOrEmptyAttribute>
Public Property DefaultInputPort As AFPort
	Get
	Set

Dim instance As SetAFElementTemplate
Dim value As AFPort

value = instance.DefaultInputPort

instance.DefaultInputPort = value
public:
[ParameterAttribute(Position = 7, Mandatory = false, HelpMessage = L"AF Element Template Default Input Port")]
[ValidateNotNullOrEmptyAttribute]
property AFPort^ DefaultInputPort {
	AFPort^ get ();
	void set (AFPort^ value);
}
[<ParameterAttribute(Position = 7, Mandatory = false, HelpMessage = "AF Element Template Default Input Port")>]
[<ValidateNotNullOrEmptyAttribute>]
member DefaultInputPort : AFPort with get, set

Property Value

Type: AFPort

See Also

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