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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Gds.ComTypes Namespace > _EasyUACertificateManagementClient 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.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function GetServiceByName( _
   ByVal serviceTypeName As String _
) As Object
'Usage
 
Dim instance As _EasyUACertificateManagementClient
Dim serviceTypeName As String
Dim value As Object
 
value = instance.GetServiceByName(serviceTypeName)
[CanBeNull()]
object GetServiceByName( 
   string serviceTypeName
)
[CanBeNull()]
Object^ GetServiceByName( 
   String^ serviceTypeName
) 

Parameters

serviceTypeName
The name of the type of service object to get.

Return Value

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

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

See Also