> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dropEnvironment

<div className="kinetica-doxygen">
  <div id="aee083cd3f5f329f8879ff1d3515a5f39" />

  <h2 className="memtitle"><span className="permalink"><a href="#aee083cd3f5f329f8879ff1d3515a5f39">◆ </a></span>dropEnvironment() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentResponse">DropEnvironmentResponse</a> kinetica.Kinetica.dropEnvironment </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentRequest">DropEnvironmentRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L33281">33281</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a013e5b00500f124e8245e2984d7f1699" />

  <h2 className="memtitle"><span className="permalink"><a href="#a013e5b00500f124e8245e2984d7f1699">◆ </a></span>dropEnvironment() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentResponse">DropEnvironmentResponse</a> kinetica.Kinetica.dropEnvironment </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">environment\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">environment\_name</td>
              <td>Name of the environment to be dropped. Must be an existing environment.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a14ceac0cdcf13a1cbb691564352cb33b">NO\_ERROR\_IF\_NOT\_EXISTS</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a741f4cb7150a6b45cc9611d2579e9418">TRUE</a> and if the environment specified in <span className="em">environment\_name</span> does not exist, no error is returned. If <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a> and if the environment specified in <span className="em">environment\_name</span> does not exist, then an error is returned. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a741f4cb7150a6b45cc9611d2579e9418">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a>.
                  </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L33345">33345</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a50d59a480c628be9fc96ec10f8ce4f8f" />

  <h2 className="memtitle"><span className="permalink"><a href="#a50d59a480c628be9fc96ec10f8ce4f8f">◆ </a></span>DropEnvironmentAsync() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentResponse">DropEnvironmentResponse</a> > kinetica.Kinetica.DropEnvironmentAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentRequest">DropEnvironmentRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L33298">33298</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a67ee1e619d86d2b6ae26f6da122343d3" />

  <h2 className="memtitle"><span className="permalink"><a href="#a67ee1e619d86d2b6ae26f6da122343d3">◆ </a></span>DropEnvironmentAsync() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1DropEnvironmentResponse">DropEnvironmentResponse</a> > kinetica.Kinetica.DropEnvironmentAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">environment\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">environment\_name</td>
              <td>Name of the environment to be dropped. Must be an existing environment.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a14ceac0cdcf13a1cbb691564352cb33b">NO\_ERROR\_IF\_NOT\_EXISTS</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a741f4cb7150a6b45cc9611d2579e9418">TRUE</a> and if the environment specified in <span className="em">environment\_name</span> does not exist, no error is returned. If <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a> and if the environment specified in <span className="em">environment\_name</span> does not exist, then an error is returned. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#a741f4cb7150a6b45cc9611d2579e9418">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1DropEnvironmentRequest_1_1Options#ab4b7d46efc52b92c842cbb2d204ff0ee">FALSE</a>.
                  </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L33393">33393</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
