## SqlConnectionStringBuilder::set_Encrypt method


切换加密开关。

```cpp
void System::Data::SqlClient::SqlConnectionStringBuilder::set_Encrypt(bool value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | bool | 如果为 true，则打开 SSL；否则关闭它。 |

## 另见

* Class [SqlConnectionStringBuilder](../)
* Namespace [System::Data::SqlClient](../../)
* Library [Aspose.Page for C++](../../../)
