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

AF SDK Reference

PISystems.Remove Method (Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
PISystems.Remove Method (Guid)
Unregisters an existing PISystem with the specified unique identifier.

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

Syntax

public bool Remove(
	Guid id
)
Public Function Remove ( 
	id As Guid
) As Boolean

Dim instance As PISystems
Dim id As Guid
Dim returnValue As Boolean

returnValue = instance.Remove(id)
public:
bool Remove(
	Guid id
)
member Remove : 
        id : Guid -> bool 

Parameters

id
Type: SystemGuid
The unique identifier of the PISystem to be unregistered.

Return Value

Type: Boolean
Returns if the item is successfully removed; otherwise, . This method also returns if id was not found in the original collection.

Remarks

This method is used to unregister an existing PISystem entry from the list of known PISystems on the local machine. This does not affect the configuration of PISystems on other client computers.

Version Information

AFSDK


See Also

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