System::Data::SqlClient::SqlConnectionStringBuilder class
Contents
[
Hide
]SqlConnectionStringBuilder class
SQL-based connection builder. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class SqlConnectionStringBuilder : public System::Data::Common::DbConnectionStringBuilder
Methods
Method | Description |
---|---|
get_DataSource() const | Gets data source (e. g. hostname and port). |
get_Encrypt() const | Checks whether encription is enabled on line. |
get_InitialCatalog() const | Gets name of database associated with connection. |
get_NetworkLibrary() const | Gets used network library name. |
get_Password() const | Gets password used to connect to database. |
get_TrustServerCertificate() const | Checks whether connection is protected using trust server certificate. |
get_UserID() const | Gets user id used for connection. |
idx_get(String) override | RTTI information. |
idx_set(String, Object::ptr) override | Sets keyed object. |
set_DataSource(const String&) | Gets data source (e. g. hostname and port). |
set_Encrypt(bool) | Toggles encryption on or off. |
set_InitialCatalog(const String&) | Sets name of database associated with connection. |
set_NetworkLibrary(const String&) | Selects network library to use. |
set_Password(const String&) | Sets password to be used to connect to database. |
set_TrustServerCertificate(bool) | Determines whether connection is protected using trust server certificate. |
set_UserID(const String&) | Sets user id to use for connection. |
See Also
- Class DbConnectionStringBuilder
- Namespace System::Data::SqlClient
- Library Aspose.PDF for C++