ConnectionString Builder for SQL Server CE.
| C# | Visual Basic |
public class SqlCeConnectionStringBuilder : DbConnectionStringBuilder
Public Class SqlCeConnectionStringBuilder _ Inherits DbConnectionStringBuilder
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| SqlCeConnectionStringBuilder()()()() | Initializes a new instance of the SqlCeConnectionStringBuilder class | |
| Add(String, Object) |
Adds an entry with the specified key and value into the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) | |
| CaseSensitive |
A Boolean value that determines whether or not the database collation is case-sensitive. | |
| 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 |
Name of the SQL Server CE database to connect to: "\my app\myDB.sdf".
| |
| EncryptDatabase |
Boolean value that determines whether or not the database is encrypted, if the platform supports encryption.
| |
| Equals(Object) | (Inherited from Object.) | |
| FileMode |
The mode to use when opening the database file.
| |
| 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.) | |
| 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.) | |
| LocaleIdentifier |
The locale ID (LCID) to use with the database.
| |
| MaxBufferSize |
The largest amount of memory, in kilobytes, that SQL Server CE can use before it starts flushing changes to disk.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Password |
Database password, which can be up to 40 characters in length.
| |
| PersistSecurityInfo |
When set to false (strongly recommended), security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open State.
Resetting the connection string resets all connection string values including the password.
| |
| Remove(String) |
Removes the entry with the specified key from the DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder.) | |
| TempFileDirectory |
Location of the temporary database.
| |
| TempFileMaxSize |
The maximum size of the temporary database file, in Megabytes.
| |
| 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.) | |
| Values |
Gets an ICollection containing the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.) |
| Object | ||
| DbConnectionStringBuilder | ||
| SqlCeConnectionStringBuilder | ||