## SqlConnectionStringBuilder::get_TrustServerCertificate method


Checks whether connection is protected using trust server certificate.

```cpp
bool System::Data::SqlClient::SqlConnectionStringBuilder::get_TrustServerCertificate() const
```


### ReturnValue

True if trust server certificate is provided, false otherwise.

## See Also

* Class [SqlConnectionStringBuilder](../)
* Namespace [System::Data::SqlClient](../../)
* Library [Aspose.PDF for C++](../../../)
