In the OPCDA.NET Professional Edition this method is available also for OPCDA V2 servers. With OPCDA V2 servers the method is emulated by calling the available OPCDA V2 item properties methods.
An OPCException is thrown if the OPC Server returns an error.
Visual Basic (Declaration) | |
---|---|
Public Function GetProperties( _ ByVal itemIDs() As String, _ ByVal returnValues As Boolean, _ ByVal propertyIDs() As Integer _ ) As ItemProperties() |
C# | |
---|---|
public ItemProperties[] GetProperties( string[] itemIDs, bool returnValues, int[] propertyIDs ) |
Parameters
- itemIDs
- An array with ItemID definitions for which the caller wants to read the list of properties.
- returnValues
- Server must return the property values in addition to the property names.
- propertyIDs
- Array with the ID's of the item properties to be read. The property IDs are as defined in the OPC specification and as returned in the QueryAvailableProperies method.
If NULL then all available properties are returned.