## DbConnection::set_ConnectionString method


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

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | 字符串 | 连接字符串。 |

## 另见

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