Go SQL Server connection string keyword aliases

Source: Internet
Author: User
Tags aliases sql server connection string

Transferred from: http://stackoverflow.com/questions/3077412/ What-is-the-difference-between-trusted-connection-and-integrated-security-in-a-c

-----------------------------------------------

In. Net, there are a class called SqlConnectionStringBuilder that's very useful for dealing with SQL Server Conne ction strings using Type-safe properties to build up parts of the string. This class keeps a internal list of synonyms so it can map from one value to another:

+----------------------+-------------------------+| Value | Synonym |+----------------------+-------------------------+| App | Application Name | | Async | Asynchronous Processing | | Extended Properties | AttachDbFileName | | Initial file name | AttachDbFileName | | Connection Timeout | Connect Timeout | | Timeout | Connect Timeout | | language | Current language | | Addr | Data Source | | Address | Data Source | | Network Address | Data Source | | Server | Data Source | | Database | Initial Catalog | | Trusted_Connection | Integrated Security | | Connection Lifetime | Load Balance Timeout | | NET | Network Library | | Network | Network Library | | PWD | password || Persistsecurityinfo | Persist Security Info | | UID | User ID | | user | User ID | | Wsid | Workstation ID |+----------------------+-------------------------+

(Compiled with help from Reflector)

There is other similar classes for dealing with ODBC and OLE DB connection strings, but unfortunately nothing for other DA Tabase Vendors-i would assume the onus is on a vendor's library to provide such an implementation.

Go SQL Server connection string keyword aliases

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.