Sphinx QLConnection String Builder Class
Provides a simple way to create and manage the contents of connection strings used by the SphinxQLConnection class.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public class SphinxQLConnectionStringBuilder : DbConnectionStringBuilderVB
Public Class SphinxQLConnectionStringBuilder
Inherits DbConnectionStringBuilder- Inheritance
- Object DbConnectionStringBuilder SphinxQLConnectionStringBuilder
Constructors
| SphinxQLConnectionStringBuilder | Initializes a new instance of the SphinxQLConnectionStringBuilder class. |
| SphinxQLConnectionStringBuilder(String) | Initializes a new instance of the SphinxQLConnectionStringBuilder class. |
Properties
| BrowsableConnectionString | Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers. (Inherited from DbConnectionStringBuilder) |
| ConnectionString | Gets or sets the connection string associated with the DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder) |
| ConnectionTimeout | Gets or sets the connection timeout. |
| Count | Gets the current number of keys that are contained within the ConnectionString property. (Inherited from DbConnectionStringBuilder) |
| Encoding | Gets or sets the encoding that is used to send queries to and retrieve results from Sphinx. Default is utf-8. |
| Enlist | Gets or sets a value indicating whether connections should automatically enlist in an ambient Transaction. Default is true. |
| Host | Gets or sets the host of the instance of Sphinx to connect to. |
| 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 |
Gets or sets the Object with the specified keyword.
(Overrides DbConnectionStringBuilderItemString) |
| Keys |
Gets an ICollection that contains the keys in the SphinxQLConnectionStringBuilder.
(Overrides DbConnectionStringBuilderKeys) |
| MaxPoolSize | Gets or sets the maximum number of connections allowed in the connection pool for this specific connection string. |
| MinPoolSize | Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string. |
| Password | Gets or sets the password for the searchd account. |
| PoolingEnabled | Gets or sets a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested. |
| Port | Gets or sets the port to connect to. |
| SocketReceiveBufferSize | Gets or sets the receive buffer size for the socket connecting to searchd. Default is null, which uses the default value for the platform. |
| SocketSendBufferSize | Gets or sets the send buffer size for the socket connecting to searchd. Default is null, which uses the default value for the platform. |
| TcpNoDelay | Gets or sets whether to disable Nagle's algorithm for the socket connecting to searchd. Default is false. |
| UserName | Gets or sets the username to be used when connecting to searchd. |
| Values | Gets an ICollection that contains the values in the DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder) |
Methods
| Add | Adds an entry with the specified key and value into the DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder) |
| Clear |
Clears the contents of the SphinxQLConnectionStringBuilder instance.
(Overrides DbConnectionStringBuilderClear) |
| ContainsKey |
Determines whether the SphinxQLConnectionStringBuilder contains a specific key.
(Overrides DbConnectionStringBuilderContainsKey(String)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| EquivalentTo | Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object. (Inherited from DbConnectionStringBuilder) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Remove |
Removes the entry with the specified key from the SphinxQLConnectionStringBuilder instance.
(Overrides DbConnectionStringBuilderRemove(String)) |
| ShouldSerialize | Indicates whether the specified key exists in this DbConnectionStringBuilder instance. (Inherited from DbConnectionStringBuilder) |
| ToString | Returns the connection string associated with this DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder) |
| TryGetValue | Retrieves a value corresponding to the supplied key from this DbConnectionStringBuilder. (Inherited from DbConnectionStringBuilder) |
Explicit Interface Implementations
| IDictionaryAdd | Adds an element with the provided key and value to the IDictionary object. (Inherited from DbConnectionStringBuilder) |
| IDictionaryContains | Determines whether the IDictionary object contains an element with the specified key. (Inherited from DbConnectionStringBuilder) |
| ICollectionCopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetAttributes | Returns a collection of custom attributes for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetClassName | Returns the class name of this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetComponentName | Returns the name of this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetConverter | Returns a type converter for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetDefaultEvent | Returns the default event for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetDefaultProperty | Returns the default property for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetEditor | Returns an editor of the specified type for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| IDictionaryGetEnumerator | Returns an IDictionaryEnumerator object for the IDictionary object. (Inherited from DbConnectionStringBuilder) |
| IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetEvents | Returns the events for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetEvents(Attribute) | Returns the events for this instance of a component using the specified attribute array as a filter. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetProperties | Returns the properties for this instance of a component. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetProperties(Attribute) | Returns the properties for this instance of a component using the attribute array as a filter. (Inherited from DbConnectionStringBuilder) |
| ICustomTypeDescriptorGetPropertyOwner | Returns an object that contains the property described by the specified property descriptor. (Inherited from DbConnectionStringBuilder) |
| ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from DbConnectionStringBuilder) |
| IDictionaryItem | Gets or sets the element with the specified key. (Inherited from DbConnectionStringBuilder) |
| IDictionaryRemove | Removes the element with the specified key from the IDictionary object. (Inherited from DbConnectionStringBuilder) |
| ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from DbConnectionStringBuilder) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.