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 workbookWorksheetProtection Read properties and relationships of workbookWorksheetProtection object.
Protect None Protect a worksheet. It throws if the worksheet has been protected.
Unprotect None Unprotect a worksheet

Properties

Property Type Description
options workbookWorksheetProtectionOptions Sheet protection options. Read-only.
protected boolean Indicates if the worksheet is protected. Read-only.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "protected": "boolean"
}