ConnectionString Builder for SQL Server.
| C# | Visual Basic |
public class SqlConnectionStringBuilder : DbConnectionStringBuilder
Public Class SqlConnectionStringBuilder _ Inherits DbConnectionStringBuilder
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| SqlConnectionStringBuilder()()()() | Initializes a new instance of the SqlConnectionStringBuilder class | |
| Add(String, Object) |
Adds an entry with the specified key and value into the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| Clear()()()() |
Clears the contents of the DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder.) | |
| ConnectionString |
Gets or sets the connection string associated with the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| ContainsKey(String) |
Determines if the DbConnectionStringBuilder contains a specific key.
(Inherited from DbConnectionStringBuilder.) | |
| Count |
Gets the current number of keys contained within the ConnectionString property.
(Inherited from DbConnectionStringBuilder.) | |
| DataSource |
The name or network address of the instance of SQL Server to which to connect.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetProperties(Hashtable) |
Fill a supplied Hashtable with information about all the properties of this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InitialCatalog |
The name of the database.
| |
| IsFixedSize |
Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
(Inherited from DbConnectionStringBuilder.) | |
| IsReadOnly |
Gets a value that indicates whether the DbConnectionStringBuilder is read-only.
(Inherited from DbConnectionStringBuilder.) | |
| Item[([( String])]) |
Gets or sets the value associated with the specified key.
(Inherited from DbConnectionStringBuilder.) | |
| Keys |
Gets an ICollection containing the keys in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Password |
Specifies the password to use.
| |
| Remove(String) |
Removes the entry with the specified key from the DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder.) | |
| ToString()()()() |
Returns the connection string associated with this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| TryGetValue(String, Object%) |
Retrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| UserID |
Specifies the user name to use to login to the database.
| |
| Values |
Gets an ICollection containing the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) |
| Object | ||
| DbConnectionStringBuilder | ||
| SqlConnectionStringBuilder | ||