QuickOPC User's Guide and Reference
HasConfigurationModel Method (EasyUAPublishSubscribeClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.InformationModel Namespace > EasyUAPublishSubscribeClient Class : HasConfigurationModel Method
The endpoint descriptor of the OPC UA server to be tested.
Determines whether the specified OPC UA server provides a PubSub configuration model.
Syntax
'Declaration
 
Public Function HasConfigurationModel( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As Boolean
'Usage
 
Dim instance As EasyUAPublishSubscribeClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As Boolean
 
value = instance.HasConfigurationModel(endpointDescriptor)
public bool HasConfigurationModel( 
   UAEndpointDescriptor endpointDescriptor
)
public:
bool HasConfigurationModel( 
   UAEndpointDescriptor^ endpointDescriptor
) 

Parameters

endpointDescriptor
The endpoint descriptor of the OPC UA server to be tested.

Return Value

Returns true if the OPC UA server residing on the specified endpoint provides the OPC UA PubSub configuration model; returns false otherwise.
Exceptions
ExceptionDescription
A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
The OPC UA operation has failed.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012 R2, Windows Server 2016; .NET: Linux, macOS, Microsoft Windows

See Also