IDatasourcesMgr2.AddNotificationClient (METH)ΒΆ

METHOD AddNotificationClient : SysTypes.RTS_IEC_RESULT

This method can be used to register an implementation of INotificationClient that will be notified about operations of the datasources.

Note

Please remark that the number of notification clients might be limited so at least if registering several clients the return value should be evaluated.

Note

The registered object can be removed using IDatasourcesMgr2.RemoveNotificationClient

InOut:

Scope

Name

Type

Comment

Return

AddNotificationClient

SysTypes.RTS_IEC_RESULT

An error code that signals whether the registration was successful.

Input

client

INotificationClient

The object that will be notified about operations of the datasources.