OPC Labs EasyOPC-UA Components Library
AccessOrLoadReadOnlyConfiguration Method
OpcLabs_EasyOpcUAComponents ActiveX DLL > EasyUAPublishSubscribeClient Object : AccessOrLoadReadOnlyConfiguration Method

Description
Provides read-only access to the PubSub configuration provided by an OPC UA server, either by using the PubSub configuration model, or optionally by loading it from an OPC UA file object.

 

DISPID (Dispatch ID):

 

For more information, see AccessOrLoadReadOnlyConfiguration in .NET Reference.

Syntax
Visual Basic
Public Function AccessOrLoadReadOnlyConfiguration( _
   ByVal endpointDescriptor As Variant, _
   ByVal pubSubConfigurationAccessMethod As UAPubSubConfigurationAccessMethod _
) As UAReadOnlyPubSubConfiguration
Parameters
endpointDescriptor

pubSubConfigurationAccessMethod
ValueDescription
UAPubSubConfigurationAccessMethod_LoadFromFileNodeOnlyThe PubSub configuration will be only loaded from the dedicated file node in the OPC UA server. Operations will fail if the node is not provided by the server.
UAPubSubConfigurationAccessMethod_ObjectAccessOnlyThe PubSub configuration will be accessed only by reading and browsing the objects in the OPC UA server.
UAPubSubConfigurationAccessMethod_PreferLoadFromFileNodeIf a dedicated file node with the PubSub configuration is provided by the OPC UA server, it will be loaded from the file node. Otherwise, the configuration will be accessed by reading and browsing the objects in the server.

Return Type

See AccessOrLoadReadOnlyConfiguration in .NET Reference.

Remarks

For remarks, see AccessOrLoadReadOnlyConfiguration in .NET Reference.

Example

For examples, see AccessOrLoadReadOnlyConfiguration in .NET Reference.

See Also

EasyUAPublishSubscribeClient Object  | EasyUAPublishSubscribeClient Members