QuickOPC User's Guide and Reference
SharedServiceProvider Property (EasyAEClient)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > EasyAEClient Class : SharedServiceProvider Property
Provides services that are shared by all instances of the component.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared ReadOnly Property SharedServiceProvider As IServiceProvider
'Usage
 
Dim value As IServiceProvider
 
value = EasyAEClient.SharedServiceProvider
[NotNull()]
public static IServiceProvider SharedServiceProvider {get;}
[NotNull()]
public:
static property IServiceProvider^ SharedServiceProvider {
   IServiceProvider^ get();
}
Remarks

Use this property to retrieve shared services. Getting the property triggers static activation of the component, if it has not been activated yet.

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