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

PI Powershell

AddAFUnitOfMeasure.ToFormula Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFUnitOfMeasure.ToFormula Property

Formula used to convert reference AF UOM to AF UOM to add

Note that formula UOMs have limitations as well as performance impact. Simple UOMs with reference factors and reference offsets should be used instead whenever possible.

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

Syntax

[ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = "Formula", HelpMessage = "Unit of Measure Reference To Formula")]
public string ToFormula { get; set; }
<ParameterAttribute(Position := 4, Mandatory := false, ValueFromPipeline := false, 
	ParameterSetName := "Formula", HelpMessage := "Unit of Measure Reference To Formula")>
Public Property ToFormula As String
	Get
	Set

Dim instance As AddAFUnitOfMeasure
Dim value As String

value = instance.ToFormula

instance.ToFormula = value
public:
[ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = L"Formula", HelpMessage = L"Unit of Measure Reference To Formula")]
property String^ ToFormula {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 4, Mandatory = false, ValueFromPipeline = false, 
	ParameterSetName = "Formula", HelpMessage = "Unit of Measure Reference To Formula")>]
member ToFormula : string with get, set

Property Value

Type: String

See Also

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