## Worksheet::GetProtection method


Represents the various types of protection options available for a worksheet. Supports advanced protection options in ExcelXP and above version.

```cpp
Protection Aspose::Cells::Worksheet::GetProtection()
```

## Remarks


This property can protect worksheet in all versions of Excel file and support advanced protection options in ExcelXP and above version. 
## See Also

* Class [Protection](../../protection/)
* Class [Worksheet](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
