Protection Property
Protection
Gets or sets the protection status of the worksheet.
This property indicates whether worksheet protection is enabled.
Declaration
bool Protection { get; set; }
Property Protection As Boolean
Examples
worksheet.Protection = true;
bool protection = worksheet.Protection;