<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.win32service.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.win32-remove-service-env-var.php',
    1 => 'win32_remove_service_env_var',
    2 => 'Remove a custom environment variables on service',
  ),
  'up' => 
  array (
    0 => 'ref.win32service.php',
    1 => 'win32service Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.win32-remove-right-access-service.php',
    1 => 'win32_remove_right_access_service',
  ),
  'next' => 
  array (
    0 => 'function.win32-send-custom-control.php',
    1 => 'win32_send_custom_control',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/win32service/functions/win32-remove-service-env-var.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.win32-remove-service-env-var" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_remove_service_env_var</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">win32_remove_service_env_var</span> &mdash; <span class="dc-title">Remove a custom environment variables on service</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.win32-remove-service-env-var-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_remove_service_env_var</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$servicename</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$varname</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Remove a custom environment variables <code class="parameter">varname</code> on <code class="parameter">servicename</code>
   service. This function work only for the local computer. Administrative privileges are required for this to succeed.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.win32-remove-service-env-var-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">servicename</code></dt>
     <dd>
      <p class="para">
       The service name to remove environment variable.
      </p>
     </dd>
    
    
     <dt><code class="parameter">varname</code></dt>
     <dd>
      <p class="para">
       The environment variable name.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.win32-remove-service-env-var-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Nessun valore viene restituito.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.win32-remove-service-env-var-errors">
  <h3 class="title">Errori/Eccezioni</h3>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">service</code> parameter is empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> is thrown if the
   value of <code class="parameter">varname</code> parameter is empty.
  </p>
  <p class="para">
   A <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> is thrown on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.win32-remove-service-env-var-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.win32-get-service-env-vars.php" class="function" rel="rdfs-seeAlso">win32_get_service_env_vars()</a> - Read all custom environment variables on service</span></li>
    <li><span class="function"><a href="function.win32-add-service-env-var.php" class="function" rel="rdfs-seeAlso">win32_add_service_env_var()</a> - Add a custom environment variables on service</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>