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

AF SDK Reference

AFTimeRules.Parent Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeRules.Parent Property

Note: This API is now obsolete.

This read-only property returns the AFTimeRule that owns this collection of time rules.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[BrowsableAttribute(false)]
[ObsoleteAttribute("Child TimeRules are not supported.")]
public AFTimeRule Parent { get; }
<BrowsableAttribute(false)>
<ObsoleteAttribute("Child TimeRules are not supported.")>
Public ReadOnly Property Parent As AFTimeRule
	Get

Dim instance As AFTimeRules
Dim value As AFTimeRule

value = instance.Parent
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"Child TimeRules are not supported.")]
property AFTimeRule^ Parent {
	AFTimeRule^ get ();
}
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("Child TimeRules are not supported.")>]
member Parent : AFTimeRule with get

Property Value

Type: AFTimeRule
Returns the AFTimeRule that is the parent of this collection of time rules. If the collection is not contained within another time rule, for example if it is in the top level collection from the AFAnalysis object, then this property will return .

Remarks

Use the Analysis or AnalysisTemplate property to get direct access to the owning analysis or analysis template of this collection, regardless of how deep the time rule collection may be within the time rule hierarchy.

Version Information

AFSDK

Supported in: 2.5, 2.4
Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6

See Also

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