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

PI Powershell

AddAFPort.AFElementTemplate Property

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

AF Element Template to which to add the AF Port

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

Syntax

[ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = "ElementTemplate", 
	ValueFromPipeline = true, HelpMessage = "AF Element")]
[ValidateNotNullOrEmptyAttribute]
public AFElementTemplate AFElementTemplate { get; set; }
<ParameterAttribute(Position := 7, Mandatory := true, ParameterSetName := "ElementTemplate", 
	ValueFromPipeline := true, HelpMessage := "AF Element")>
<ValidateNotNullOrEmptyAttribute>
Public Property AFElementTemplate As AFElementTemplate
	Get
	Set

Dim instance As AddAFPort
Dim value As AFElementTemplate

value = instance.AFElementTemplate

instance.AFElementTemplate = value
public:
[ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = L"ElementTemplate", 
	ValueFromPipeline = true, HelpMessage = L"AF Element")]
[ValidateNotNullOrEmptyAttribute]
property AFElementTemplate^ AFElementTemplate {
	AFElementTemplate^ get ();
	void set (AFElementTemplate^ value);
}
[<ParameterAttribute(Position = 7, Mandatory = true, ParameterSetName = "ElementTemplate", 
	ValueFromPipeline = true, HelpMessage = "AF Element")>]
[<ValidateNotNullOrEmptyAttribute>]
member AFElementTemplate : AFElementTemplate with get, set

Property Value

Type: AFElementTemplate

See Also

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