Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.78 KB

File metadata and controls

61 lines (47 loc) · 1.78 KB
title workbookWorksheetProtection resource type
description Represents the protection of a sheet object.
author lumine2008
ms.localizationpriority medium
ms.subservice excel
doc_type resourcePageType
toc.title Worksheet protection
ms.date 08/01/2024

workbookWorksheetProtection resource type

Namespace: microsoft.graph

Represents the protection of a sheet object.

Methods

Method Return Type Description
Get workbookWorksheetProtection Read the properties and relationships of a workbookWorksheetProtection object.
Protect worksheet None Protect a worksheet. Returns an error if the worksheet is already protected.
Unprotect worksheet None Unprotect a worksheet.

Properties

Property Type Description
options workbookWorksheetProtectionOptions Worksheet protection options. Read-only.
protected Boolean Indicates whether the worksheet is protected. Read-only.

JSON representation

The following JSON representation shows the resource type.

{
  "options": { "@odata.type": "microsoft.graph.workbookWorksheetProtectionOptions" },
  "protected": true
}