AFNotificationRule.Name Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property defines the name that identifies the object.
Namespace: OSIsoft.AF.Notification
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string Name { get; set; }
Public Property Name As String Get Set Dim instance As AFNotificationRule Dim value As String value = instance.Name instance.Name = value
public: virtual property String^ Name { String^ get () sealed; void set (String^ value) sealed; }
abstract Name : string with get, set override Name : string with get, set
Property Value
Type: StringDefines the name that identifies the object.
Remarks
This property is used as the key when referencing the object in a collection using the Item property with a string value.
If this notification rule was automatically created by the server from an AFNotificationRuleTemplate, then the value of this property is defined by the template and cannot be changed. In this case, changing the Name property also changes the value of this property. If the notification rule was NOT automatically created by the server from a template, then this property can be modified.