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

PI Powershell

SetAFPort.AllowedElementTemplate Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetAFPort.AllowedElementTemplate Property

Only AF Elements using this AF Element Template are allowed to connect to this port

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

Syntax

[ParameterAttribute(Position = 5, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Allowed Element Template")]
[ValidateNotNullOrEmptyAttribute]
public AFElementTemplate AllowedElementTemplate { get; set; }
<ParameterAttribute(Position := 5, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "Allowed Element Template")>
<ValidateNotNullOrEmptyAttribute>
Public Property AllowedElementTemplate As AFElementTemplate
	Get
	Set

Dim instance As SetAFPort
Dim value As AFElementTemplate

value = instance.AllowedElementTemplate

instance.AllowedElementTemplate = value
public:
[ParameterAttribute(Position = 5, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"Allowed Element Template")]
[ValidateNotNullOrEmptyAttribute]
property AFElementTemplate^ AllowedElementTemplate {
	AFElementTemplate^ get ();
	void set (AFElementTemplate^ value);
}
[<ParameterAttribute(Position = 5, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Allowed Element Template")>]
[<ValidateNotNullOrEmptyAttribute>]
member AllowedElementTemplate : AFElementTemplate with get, set

Property Value

Type: AFElementTemplate

See Also

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