workbookWorksheetProtection resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "protected": "Boolean"
}