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

PI Powershell

AddAFPort.AllowedElementCategory Property

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

List of AF Element Categories for AF Elements which are allowed to connect to this port

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

Syntax

[ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Allowed Element Categories")]
[ValidateNotNullOrEmptyAttribute]
public AFCategory[] AllowedElementCategory { get; set; }
<ParameterAttribute(Position := 4, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "Allowed Element Categories")>
<ValidateNotNullOrEmptyAttribute>
Public Property AllowedElementCategory As AFCategory()
	Get
	Set

Dim instance As AddAFPort
Dim value As AFCategory()

value = instance.AllowedElementCategory

instance.AllowedElementCategory = value
public:
[ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"Allowed Element Categories")]
[ValidateNotNullOrEmptyAttribute]
property array<AFCategory^>^ AllowedElementCategory {
	array<AFCategory^>^ get ();
	void set (array<AFCategory^>^ value);
}
[<ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "Allowed Element Categories")>]
[<ValidateNotNullOrEmptyAttribute>]
member AllowedElementCategory : AFCategory[] with get, set

Property Value

Type: AFCategory

See Also

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