From what I saw in the documentation, AcceptPause appears to be a read-only property, and there doesn't appear to be any methods that changes it. I found very little information is given on what it actually represents, but it might be a function of the the ServiceType passed to the constructor and/or the current State of the service.

Of course, none of that is Perl-related. That's because your question isn't either. You might have better luck if you look elsewhere (but sorry, I can't recommend anywhere). Once you find out what interface Windows provides (if any) to do this, we can help you call it from Perl.


In reply to Re: Win32_Service::Create information sought by ikegami
in thread Win32_Service::Create information sought by Dismas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.