Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IEnumeratedSets Interface / Subscribe Method
Example


Subscribe Method (IEnumeratedSets)
Subscribe to enumerated set changes in a Historian server such as: modify or delete. Fires %% with details of the set change.
Syntax
Sub Subscribe( _
   ByVal enumeratedSetName As System.String _
) 

Parameters

enumeratedSetName
Example
// establish event handler
connection.EnumeratedSetChangedHandler += new EnumeratedSetChangedHandler(SetChanged);
              
// request enumerated subscriptions
connection.IEnumeratedSets.Subscribe("setName");
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also