QuickOPC User's Guide and Reference
GetServiceByName Method (_EasyUAClient)

OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _EasyUAClient Interface : GetServiceByName Method
The name of the type of service object to get.
Gets the service object of the specified type, given by type name.
Function GetServiceByName( _
   ByVal serviceTypeName As String _
) As Object
Dim instance As _EasyUAClient
Dim serviceTypeName As String
Dim value As Object
value = instance.GetServiceByName(serviceTypeName)
object GetServiceByName( 
   string serviceTypeName
Object^ GetServiceByName( 
   String^ serviceTypeName


The name of the type of service object to get.

Return Value

A service object of type given by serviceTypeName.
null if there is no service object of given type.

Target Platforms: .NET Framework: Windows 10, Windows Server 2012, Windows Server 2016; .NET Core, .NET 5: Linux, macOS, Microsoft Windows

See Also


_EasyUAClient Interface
_EasyUAClient Members