<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.win32-delete-service.php',
    1 => 'win32_delete_service',
    2 => 'Bir hizmet girdisini Hizmet y&ouml;netim veritabanından siler',
  ),
  'up' => 
  array (
    0 => 'ref.win32service.php',
    1 => 'win32service İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.win32-create-service.php',
    1 => 'win32_create_service',
  ),
  'next' => 
  array (
    0 => 'function.win32-get-last-control-message.php',
    1 => 'win32_get_last_control_message',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/win32service/functions/win32-delete-service.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.win32-delete-service" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_delete_service</h1>
  <p class="verinfo">(PECL win32service &gt;=0.1.0)</p><p class="refpurpose"><span class="refname">win32_delete_service</span> &mdash; <span class="dc-title">Bir hizmet girdisini Hizmet yönetim veritabanından siler
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.win32-delete-service-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_delete_service</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$hizmet</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$makine</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>


  <p class="para rdfs-comment">
   Bir hizmet girdisini Hizmet yönetim veritabanından silmeye çalışır.
   Yönetici yetkileri gerekir.
  </p>
  <p class="para">
   Bu işlev süreci sadece silinmek üzere imler. Eğer başka bir süreç açıksa
   (Hizmetler programcığı gibi) silme işlemi uygulama kapanıncaya kadar
   ertelenir. Hizmet silinmek üzere imlenmişse silme çabaları bu süre
   zarfında başarısız olur ve bu isimle yeni bir hizmet oluşturma çabaları da
   başarısız olur.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-function.win32-delete-service-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">hizmet</code></dt>
     <dd>
      <p class="para">
       Hizmetin kısa ismi.
      </p>
     </dd>
    
    
     <dt><code class="parameter">makine</code></dt>
     <dd>
      <p class="para">
       Belirtilmesi isteğe bağlıdır.  Belirtilmezse yerel makine ismi
       kullanılır.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.win32-delete-service-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Hiçbir değer dönmez.
  </p>
  <p class="para">
    1.0.0 öncesinde, Başarı durumunda <strong><code><a href="win32service.constants.php#constant.win32-no-error">WIN32_NO_ERROR</a></code></strong>, başarısızlık durumunda bağımsız değişkenlerle
ilgili bir sorun varsa veya bir <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Hata Kodu</a> sözkonusuysa
<strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.win32-delete-service-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   <code class="parameter">servicename</code> bağımsız değişkeni boşsa
   <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> yavrulanır.
  </p>
   <p class="para">
    Hata durumunda <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> yavrulanır.
   </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.win32-delete-service-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Bağımsız değişkenlerdeki veri geçersiz ise artık
        <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> yavrulanıyor,
        evvelce <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> dönerdi.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Hata durumunda artık <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span>
        yavrulanıyor, evvelce bir <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Hata Kodu</a> dönerdi.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Dönüş türü artık <span class="type"><span class="type"><a href="language.types.void.php" class="type void">void</a></span></span>, evvelce <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> idi.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.win32-delete-service-examples">
  <h3 class="title">Örnekler</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Örnek 1 - <span class="function"><strong>win32_delete_service()</strong></span> örneği</strong></p>
    <div class="example-contents"><p>
     dummyphp hizmetini siler.
    </p></div>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />win32_delete_service</span><span style="color: #007700">(</span><span style="color: #DD0000">'dummyphp'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.win32-delete-service-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.win32-create-service.php" class="function" rel="rdfs-seeAlso">win32_create_service()</a> - Hizmet y&ouml;netim veritabanında yeni bir hizmet girdisi
  oluşturur</span></li>
   <li><a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Hata Kodları</a></li>
  </ul>
 </div>


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