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

PI Powershell

GetAFEventFrameParent Class

  • Last UpdatedDec 15, 2025
  • 3 minute read
GetAFEventFrameParent Class

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

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

  NameDescription
Public method
GetAFEventFrameParent

Properties

  NameDescription
Public property
AFCategory

Only AF Event Frames that use the specified AF Category will be retrieved

Public property
AFEventFrame

Child AF Event Frame for which to retrieve the parent AF Event Frame

Public property
AFReferenceType

Only AF Event Frames that use the specified AF Reference Type will be retrieved

Public property
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.

See Also

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