locked
How to get property from singleton class in SCOM RRS feed

  • Question

  • Hi,

    I am trying to find out how I can access the property of a Singleton class that I have created. This is what I do -

    1. Run a discovery against RMS to collect some data.

    2. Put the data into a variable in a Singleton class (MyClass). The target of this class is System.Entity. the main reason behind making this as the target is to avoid having to populate key data such as target principal name.

    3. Run a script monitor against another target class (not the RMS). This monitor needs the data from step 1.

    How can I get the data? I am trying with different syntax such as the ones provided here http://msdn.microsoft.com/en-us/library/bb437565.aspx. But not much success.

    Any help will be appreciated. Thanks!

    Saturday, May 7, 2011 1:58 PM

Answers

  • Closing this issue since it has been quite for so long.  If this is still an issue, please repost with more detail.  Thank you!
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/
    Wednesday, June 29, 2011 8:18 PM

All replies

  • Hi,

    Can you describe how you set a property of a singleton class?


    cheers! Stefan http://www.code4ward.net
    Thursday, June 16, 2011 8:56 AM
  • Closing this issue since it has been quite for so long.  If this is still an issue, please repost with more detail.  Thank you!
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/
    Wednesday, June 29, 2011 8:18 PM