PIIdentityMappings.Remove Method (PIIdentityMapping)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Removes a PIIdentityMapping from the PI Data Archive
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public bool Remove( PIIdentityMapping item )
Public Function Remove ( item As PIIdentityMapping ) As Boolean Dim instance As PIIdentityMappings Dim item As PIIdentityMapping Dim returnValue As Boolean returnValue = instance.Remove(item)
public: bool Remove( PIIdentityMapping^ item )
member Remove : item : PIIdentityMapping -> bool
Parameters
- item
- Type: OSIsoft.AF.PIPIIdentityMapping
The PIIdentityMapping to delete.
Return Value
Type: Booleanif the item is successfully removed; otherwise, . This method also returns if name was not found in the original collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If item is . |
Remarks
The PIIdentityMapping is immediately deleted from the PI Data Archive.