'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function QuerySourceConditions( _ ByVal client As IEasyAEClient, _ ByVal machineName As String, _ ByVal serverClass As String, _ ByVal sourceNodeDescriptor As AENodeDescriptor _ ) As AEConditionElementCollection
'Usage
Dim client As IEasyAEClient Dim machineName As String Dim serverClass As String Dim sourceNodeDescriptor As AENodeDescriptor Dim value As AEConditionElementCollection value = IEasyAEClientExtension.QuerySourceConditions(client, machineName, serverClass, sourceNodeDescriptor)
[Extension()] [NotNull()] public static AEConditionElementCollection QuerySourceConditions( IEasyAEClient client, string machineName, string serverClass, AENodeDescriptor sourceNodeDescriptor )
[Extension()] [NotNull()] public: static AEConditionElementCollection^ QuerySourceConditions( IEasyAEClient^ client, String^ machineName, String^ serverClass, AENodeDescriptor^ sourceNodeDescriptor )
Parameters
- client
- The client object that will perform the operation.
This is typically the EasyAEClient object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - machineName
- Name of the machine. Determines the computer on which the OPC server is located. It may be an empty string, in which case the OPC server is assumed to exist on the local computer or at the computer specified for it by DCOM configuration.
The value represents a UNC or DNS computer name. Any string can be passed to this parameter (i.e. will not cause System.ArgumentException), but not all values make sense and will work when an operation using them is attempted. IPv6 addresses are normally enclosed between '[' and ']'.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - serverClass
- Contains ProgID of the OPC server.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - sourceNodeDescriptor
- A source node descriptor, usually expressed as qualified source name. Only the conditions associated with this source are returned.
Because the AENodeDescriptor has an implicit conversion from System.String and OpcLabs.EasyOpc.AlarmsAndEvents.AddressSpace.AENodeElement, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a string (representing the qualified name of the node), or a OpcLabs.EasyOpc.AlarmsAndEvents.AddressSpace.AENodeElement object (result from OPC browsing), in place of this parameter, and the corresponding OPC A&E node descriptor will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the FromString or FromAENodeElement static method instead.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).
The individual elements of the returned value are never null
(Nothing
in Visual Basic).