I've managed to get access to the ruleCriteria field of a rule using the MOM
SDK but this field is a MemoryStream and do not know how to correctly parse
this out. I am currently getting results like:
" ? ?????????? ??*(?? ? ? 0 1 f ^ ( 2 2 0 9 6 | 2 2 0 9 3 | 2 2
0 9 0 | 2 2 0 9 2 | 2 2 0 9 1 | 2 2 0 9 7 | 2 2 0 9 8 | 2 2 0 8 9 ) $
??<??t???? ??qH?? f ? 0 5 : M i c r o s o f t O p e r a t i o n
s M a n a g e r n a g e r"
which is close but not what i'm looking for. Does anyone know how to parse
this MemoryStream properly?
I've been trying another method of obtaining this information too which is
going direct to the OnePoint database. This information is stored in the
ProcessRule table of the OnePoint database but stored as a binary (image?)
type. Does anyone know how to parse it out this way instead?
Thanks,
Lewis.
--
Jakub Oleksy
Developer
Blog: http://blogs.msdn.com/jakuboleksy/
Log a bug or Feature Request directly to the SCOM Product Team by going to
http://connect.microsoft.com/site/sitehome.aspx?SiteID=209. This posting is
provided "AS IS" with
no warranties, and confers no rights.
"Lewis Wilson" <Lewis...@discussions.microsoft.com> wrote in message
news:4D773C98-8456-4C76...@microsoft.com...