QuickOPC User's Guide and Reference
Enable Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions.Extensions Namespace > IEasyUAClientExtension Class : Enable Method
The client object that will perform the operation.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
The Enable Method is used to change a Condition instance to the enabled state.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub Enable( _
   ByVal client As IEasyUAClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal objectOrConditionNodeDescriptor As UANodeDescriptor _
) 
'Usage
 
Dim client As IEasyUAClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim objectOrConditionNodeDescriptor As UANodeDescriptor
 
IEasyUAClientExtension.Enable(client, endpointDescriptor, objectOrConditionNodeDescriptor)

Parameters

client
The client object that will perform the operation.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
objectOrConditionNodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.
Remarks
Normally, the NodeId of the object instance as the ObjectId is passed to the Call Service. However, some Servers do not expose Condition instances in the AddressSpace. Therefore all Servers shall also allow Clients to call the AddComments Method by specifying ConditionId as the ObjectId. The Method cannot be called with an ObjectId of the ConditionType Node. If the Condition instance is not exposed, than it may be difficult for a Client to determine the ConditionId for a disabled Condition.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

IEasyUAClientExtension Class
IEasyUAClientExtension Members