Enum ProtectionType

ProtectionType enumeration

Represents workbook/worksheet protection type.

public enum ProtectionType

Values

NameValueDescription
All0Represents to protect all.
Contents1Represents to protect contents, used in Worksheet protection.
Objects2Represents to protect objects, used in Worksheet protection.
Scenarios3Represents to protect scenarios, used in Worksheet protection.
Structure4Represents to protect structure, used in Workbook protection.
Windows5Represents to protect window, used in Workbook protection.
None6Represents no protection. Only for Reading property.

See Also