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

PI Powershell

SetAFElementTemplate.AllowExtensions Property

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

Set the AF Element Template to allow extensions

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

Syntax

[ParameterAttribute(Position = 11, Mandatory = false, HelpMessage = "Allow extensions in new AF Element Template")]
[ValidateNotNullOrEmptyAttribute]
public bool AllowExtensions { get; set; }
<ParameterAttribute(Position := 11, Mandatory := false, HelpMessage := "Allow extensions in new AF Element Template")>
<ValidateNotNullOrEmptyAttribute>
Public Property AllowExtensions As Boolean
	Get
	Set

Dim instance As SetAFElementTemplate
Dim value As Boolean

value = instance.AllowExtensions

instance.AllowExtensions = value
public:
[ParameterAttribute(Position = 11, Mandatory = false, HelpMessage = L"Allow extensions in new AF Element Template")]
[ValidateNotNullOrEmptyAttribute]
property bool AllowExtensions {
	bool get ();
	void set (bool value);
}
[<ParameterAttribute(Position = 11, Mandatory = false, HelpMessage = "Allow extensions in new AF Element Template")>]
[<ValidateNotNullOrEmptyAttribute>]
member AllowExtensions : bool with get, set

Property Value

Type: Boolean

See Also

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