{introducedin: 8.6.1}
{description}
{excerpt}Returns a [SheetProtection] object containing all protection properties on the worksheet.{excerpt}
{signature:C#}
 public SheetProtection SheetProtection{ get; }
{signature}{signature:vb.net}
Public ReadOnly Property SheetProtection() As SheetProtection
{signature}
{example}{code:csharp|title=C#}
SheetProtection protection = ws.SheetProtection;{code}
{code:vb.net|title=vb.net}
Dim protection As SheetProtection = ws.SheetProtection{code}

{example}