## DbConnection::set_ConnectionString method


设置连接信息（例如服务器和端口）。

```cpp
virtual void System::Data::Common::DbConnection::set_ConnectionString(String value) const =0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | String | 连接字符串。 |

## 另见

* Class [String](../../../system/string/)
* Class [DbConnection](../)
* Namespace [System::Data::Common](../../)
* Library [Aspose.Font for C++](../../../)
