Sub Subscribe( _ ByVal collectorname As System.String _ )
void Subscribe( System.string collectorname )
void Subscribe( System.String^ collectorname )
Parameters
- collectorname
- A collector name.
Sub Subscribe( _ ByVal collectorname As System.String _ )
void Subscribe( System.string collectorname )
void Subscribe( System.String^ collectorname )
// establish event handler connection.CollectorChangedEvent += new CollectorChangedHandler(CollectorChanged); // request collector subscriptions connection.ICollectors.Subscribe("Sample Collector Name");
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