AFNotificationRule.GetAllDefaultDeliveryFormats Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Gets a read only collection of all default AFDeliveryFormat that belong to this
AFNotificationRule, to the AFNotificationRuleTemplate
it was optionally created from, and to the PISystem.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFDefaultDeliveryFormats GetAllDefaultDeliveryFormats()
Public Function GetAllDefaultDeliveryFormats As AFDefaultDeliveryFormats Dim instance As AFNotificationRule Dim returnValue As AFDefaultDeliveryFormats returnValue = instance.GetAllDefaultDeliveryFormats()
public: AFDefaultDeliveryFormats^ GetAllDefaultDeliveryFormats()
member GetAllDefaultDeliveryFormats : unit -> AFDefaultDeliveryFormats
Return Value
Type: AFDefaultDeliveryFormatsA collection of all default AFDeliveryFormat that belong to this AFNotificationRule, to the AFNotificationRuleTemplate it was optionally created from, and to the PISystem.
Remarks
This method gets a collection of all default AFDeliveryFormat objects that belong to this AFNotificationRule and the PISystem that have not been overridden by this notification or it's template. If this object was created from an AFNotificationRuleTemplate, it will include all default AFDeliveryFormat that have not been overridden in this notification.
The output from this method may be used to create a unique name using the GenerateUniqueName(String, IAFList) method.