GetAFEventFrameParent Class
- Last UpdatedDec 15, 2025
- 3 minute read
Get the parent AF Event Frame of another AF Event Frame
The Get-AFEventFrameParent cmdlet gets the parent AF Event Frame for a specified AF Event Frame
Inheritance Hierarchy
SystemObject
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetAFEventFrameParent
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetAFEventFrameParent
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Get", "AFEventFrameParent", SupportsShouldProcess = true)] public class GetAFEventFrameParent : OSICmdletBase
<CmdletAttribute("Get", "AFEventFrameParent", SupportsShouldProcess := true)> Public Class GetAFEventFrameParent Inherits OSICmdletBase Dim instance As GetAFEventFrameParent
[CmdletAttribute(L"Get", L"AFEventFrameParent", SupportsShouldProcess = true)] public ref class GetAFEventFrameParent : public OSICmdletBase
[<CmdletAttribute("Get", "AFEventFrameParent", SupportsShouldProcess = true)>] type GetAFEventFrameParent = class inherit OSICmdletBase end
The GetAFEventFrameParent type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetAFEventFrameParent |
Properties
| Name | Description | |
|---|---|---|
| AFCategory | Only AF Event Frames that use the specified AF Category will be retrieved | |
| AFEventFrame | Child AF Event Frame for which to retrieve the parent AF Event Frame | |
| AFReferenceType | Only AF Event Frames that use the specified AF Reference Type will be retrieved | |
| Refresh | Refresh the container before accessing |
Examples
Get-AFEventFrameParent -AFEventFrame $ChildEventFrame
Where:
$afServer = Get-AFServer -Name PIAF1
$ChildEventFrame = Get-AFEventFrame -ID 7570ec51-31c6-4611-0000-000000015f31 -AFServer $afServer
This example gets the parent AF Event Frame with the specified GUID from the PIAF1 AF Server.