Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA Management of Change API Reference

GetGlobalConnection Method (IDALService)

Gets a reference to the global connection to the driver for the given alias-type pair. Before the DAL core returns a reference to the connection object, a status update will be delivered on the connection status callback specified (assuming it isn't null). If the driver is currently connected, a ConnectionEstablishedNotificationMessage message will be delivered. Alternatively, if the connection object is attempting to establish a connection, a OASySDNA.Common.DAL.DALCommon.ConnectionDisconnectedNotificationMessage will instead be delivered. NOTE: All clients in the same process share this same connection, so closing it is problematic. Careful consideration must be used when closing a global connection. A connection should only ever be closed if the connection will never again by any caller in the process for the lifetime of the process. NOTE: The first call your client API is making to this method should include a non-null callback delegate, if you're requesting connection status callbacks. All subsequent calls to the retrieve the same connection object (i.e. call this method with the same driver alias and driver type) should pass in a null callback reference.
In This Topic
TitleResults for “How to create a CRG?”Also Available in