C# beginner question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Shaw

    #1

    C# beginner question

    Source:
    http://msdn.microsoft.com/en-us/library/bb960482.aspx

    This specific line in the C# code section:
    monitorOverride .Property = ManagementPackM onitorProperty. Enabled;

    I don't get how "ManagementPack MonitorProperty " is actually defined or
    how it works.

    I understand the remainder though.

    (I'm actually trying to translate this into PowerShell.)

    Marco
  • Hans Kesting

    #2
    Re: C# beginner question

    Marco Shaw wrote :
    Source:
    http://msdn.microsoft.com/en-us/library/bb960482.aspx
    >
    This specific line in the C# code section:
    monitorOverride .Property = ManagementPackM onitorProperty. Enabled;
    >
    I don't get how "ManagementPack MonitorProperty " is actually defined or how it
    works.
    >
    >
    Marco
    It's an enumeration, so the monitorOverride .Property is set to a
    specific hardcoded value.

    http://msdn.microsoft.com/en-us/libr...rproperty.aspx

    Hans Kesting


    Comment

    Working...