ProtectionType

ProtectionType enumeration

Represents workbook/worksheet protection type.

public enum ProtectionType

Values

Name Value Description
All 0 Represents to protect all.
Contents 1 Represents to protect contents, used in Worksheet protection.
Objects 2 Represents to protect objects, used in Worksheet protection.
Scenarios 3 Represents to protect scenarios, used in Worksheet protection.
Structure 4 Represents to protect structure, used in Workbook protection.
Windows 5 Represents to protect window, used in Workbook protection.
None 6 Represents no protection. Only for Reading property.

See Also