[]
Returns a connection string with the specified credentials applied.
public virtual string SetCredentials(string userName, string password)
| Type | Name | Description |
|---|---|---|
| string | userName | The user name to embed in the connection string. |
| string | password | The password to embed in the connection string. |
| Type | Description |
|---|---|
| string | The modified connection string with credentials, or the original if not applicable. |