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

PI Powershell

AddAFUnitOfMeasureClass.CanonicalAbbreviation Property

AddAFUnitOfMeasureClass.CanonicalAbbreviation Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFUnitOfMeasureClass.CanonicalAbbreviation Property

Abbreviated name for the canonical unit of measure for the AF Unit of Measure class to be added. The abbreviation must be unique within the Unit of Measure's collection or the same as the CanonicalUnitOfMeasureName parameter.

If not specified, the abbreviation defaults to the same as the CanonicalUnitOfMeasureName.

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

Syntax

[ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = false, 
	HelpMessage = "Unit of Measure Class Canonical Abbreviation")]
[ValidateNotNullOrEmptyAttribute]
public string CanonicalAbbreviation { get; set; }
<ParameterAttribute(Position := 2, Mandatory := true, ValueFromPipeline := false, 
	HelpMessage := "Unit of Measure Class Canonical Abbreviation")>
<ValidateNotNullOrEmptyAttribute>
Public Property CanonicalAbbreviation As String
	Get
	Set

Dim instance As AddAFUnitOfMeasureClass
Dim value As String

value = instance.CanonicalAbbreviation

instance.CanonicalAbbreviation = value
public:
[ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = false, 
	HelpMessage = L"Unit of Measure Class Canonical Abbreviation")]
[ValidateNotNullOrEmptyAttribute]
property String^ CanonicalAbbreviation {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 2, Mandatory = true, ValueFromPipeline = false, 
	HelpMessage = "Unit of Measure Class Canonical Abbreviation")>]
[<ValidateNotNullOrEmptyAttribute>]
member CanonicalAbbreviation : string with get, set

Property Value

Type: String

See Also

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