CimPortList.Delete (method)

Deletes the Port.
Syntax: object.Delete ProcessID
Parameters:
ProcessID As String - Process ID of the port to delete.
Description: CimPort.Delete deletes a Port from the project.

Examples

Dim project As CimProject
Dim portList As CimPortList
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Set portList = project.Ports
portList.Delete "MASTER_TCPIP1"