AFPort Properties
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFPort type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AllowedElementCategories |
This collection contains the list of element categories for elements which are allowed
to connect to this port.
| |
| AllowedElementTemplate |
This property is the AFElementTemplate of the elements that are allowed to
connect to this port.
| |
| AllowedElementTypes |
This property is a bitwise combination of the types of elements which are allowed
to connect to this port.
| |
| Database |
This read-only property returns the AFDatabase where this object is defined.
| |
| Description |
Read/write property that provides a more detailed description of the object.
| |
| Element |
This property returns the AFBaseElement object which owns or references this port.
| |
| ElementTemplate |
This read-only property returns the AFElementTemplate which owns this port.
| |
| ID |
Read-only property that provides a unique identifier for the object to be used for
quick access that is not dependent upon the index.
(Inherited from AFObject.) | |
| Identity |
This read-only property contains identity of the object.
(Inherited from AFObject.) | |
| IsDeleted |
This read-only property indicates whether the object has been deleted.
(Inherited from AFObject.) | |
| MaxConnections |
This property specifies the maximum number of connections allowed for this port.
| |
| Name |
This property defines the name that identifies the object.
| |
| PISystem |
This read-only property allows access to the PISystem associated with this
object.
(Inherited from AFObject.) | |
| Type |
This property specifies the direction of the connection from this port.
| |
| UniqueID |
Read-only property that provides the object's ID as a String.
(Inherited from AFObject.) |