## SqlConnectionStringBuilder::set_TrustServerCertificate method


Determines whether connection is protected using trust server certificate.

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


| Parameter | Type | Description |
| --- | --- | --- |
| value | bool | If true, enables trust server certificate usage, otherwise disables it. |

## See Also

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