OPC Studio User's Guide and Reference
GetService Method (DAConnectivityCore)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Connectivity Namespace > DAConnectivityCore Class : GetService Method

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Overrides Function GetService( _
   ByVal serviceType As Type _
) As Object
'Usage
 
Dim instance As DAConnectivityCore
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

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

This method can return null (Nothing in Visual Basic).

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