AFDataPipe.AddSignups Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Adds a list of AFAttribute objects to be monitored by the data pipe.
The method returns server level and attribute level errors in AFErrorsTKey .
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFErrors<AFAttribute> AddSignups( IList<AFAttribute> attributes )
Public Function AddSignups ( attributes As IList(Of AFAttribute) ) As AFErrors(Of AFAttribute) Dim instance As AFDataPipe Dim attributes As IList(Of AFAttribute) Dim returnValue As AFErrors(Of AFAttribute) returnValue = instance.AddSignups(attributes)
public: AFErrors<AFAttribute^>^ AddSignups( IList<AFAttribute^>^ attributes )
member AddSignups : attributes : IList<AFAttribute> -> AFErrors<AFAttribute>
Parameters
- attributes
- Type: System.Collections.GenericIListAFAttribute
List of AFAttribute objects to be added to the pipe.
Return Value
Type: AFErrorsAFAttributeA collection of AFErrorsTKey if any error occurred or , if there were not any errors.
Remarks
AFDataPipe allows the same AFAttribute to be added to the pipe more than once, e.g. it does not generate an error
for AFAttribute already being monitored by the pipe. The pipe keeps track of the number of times the attribute is
added and requires the same number of RemoveSignups(IListAFAttribute) call to completely take the attribute off monitored list.