# GrapeCity.Spreadsheet.ProtectionMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Spreadsheet_ProtectionMode" data-uid="GrapeCity.Spreadsheet.ProtectionMode" class="text-break">ProtectionMode Enum
</h1>
  <div class="markdown level0 summary"><p>Represents the protection type of the workbook or worksheet.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_ProtectionMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ProtectionMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ProtectionMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_ProtectionMode_None">None</td>
        <td><p>The object is not protected.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ProtectionMode_PasswordProtected">PasswordProtected</td>
        <td><p>The object is protected by password.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ProtectionMode_Protected">Protected</td>
        <td><p>The object is protected without password.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
