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

PI Powershell

AddAFElementTemplate.Name Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFElementTemplate.Name Property

Name of the AF Element Template to create

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

Syntax

[ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = "New AF Element Template Name")]
[ValidateNotNullOrEmptyAttribute]
public string Name { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, HelpMessage := "New AF Element Template Name")>
<ValidateNotNullOrEmptyAttribute>
Public Property Name As String
	Get
	Set

Dim instance As AddAFElementTemplate
Dim value As String

value = instance.Name

instance.Name = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = L"New AF Element Template Name")]
[ValidateNotNullOrEmptyAttribute]
property String^ Name {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, HelpMessage = "New AF Element Template Name")>]
[<ValidateNotNullOrEmptyAttribute>]
member Name : string with get, set

Property Value

Type: String

See Also

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