Sub Subscribe( _ ByVal tag As DataSubscriptionInfo _ )
void Subscribe( DataSubscriptionInfo tag )
void Subscribe( DataSubscriptionInfo^ tag )
Parameters
- tag
- Tag subscription information.
Sub Subscribe( _ ByVal tag As DataSubscriptionInfo _ )
void Subscribe( DataSubscriptionInfo tag )
void Subscribe( DataSubscriptionInfo^ tag )
// establish event handler connection.DataChangedEvent += new DataChangedHandler(DataChanged); // request data subscriptions connection.IData.Subscribe(new DataSubscriptionInfo { Tagname = "Tag00001", MinimumElapsedMilliSeconds = 5000 });
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