QuickOPC User's Guide and Reference
GetService Method (DAConnectivity)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Connectivity Namespace > DAConnectivity Class : GetService Method
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Overrides NotOverridable Function GetService( _
   ByVal serviceType As Type _
) As Object
'Usage
 
Dim instance As DAConnectivity
Dim serviceType As Type
Dim value As Object
 
value = instance.GetService(serviceType)
[CanBeNull()]
public override object GetService( 
   Type serviceType
)
[CanBeNull()]
public:
Object^ GetService( 
   Type^ serviceType
) override 

Parameters

serviceType
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