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

PI Powershell

AddAFElementTemplate.AFDatabase Property

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

AF Database on which to create the AF Element Template

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

Syntax

[ParameterAttribute(Position = 7, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "AF Database")]
public AFDatabase AFDatabase { get; set; }
<ParameterAttribute(Position := 7, Mandatory := true, ValueFromPipeline := true, 
	HelpMessage := "AF Database")>
Public Property AFDatabase As AFDatabase
	Get
	Set

Dim instance As AddAFElementTemplate
Dim value As AFDatabase

value = instance.AFDatabase

instance.AFDatabase = value
public:
[ParameterAttribute(Position = 7, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = L"AF Database")]
property AFDatabase^ AFDatabase {
	AFDatabase^ get ();
	void set (AFDatabase^ value);
}
[<ParameterAttribute(Position = 7, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "AF Database")>]
member AFDatabase : AFDatabase with get, set

Property Value

Type: AFDatabase

See Also

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