Click or drag to resize

SphinxQLConnectionStringBuilder Class

Provides a simple way to create and manage the contents of connection strings used by the SphinxQLConnection class.
Inheritance Hierarchy
SystemObject
  System.Data.CommonDbConnectionStringBuilder
    SphinxConnector.SphinxQLSphinxQLConnectionStringBuilder

Namespace:  SphinxConnector.SphinxQL
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public class SphinxQLConnectionStringBuilder : DbConnectionStringBuilder

The SphinxQLConnectionStringBuilder type exposes the following members.

Constructors
  NameDescription
Public methodSphinxQLConnectionStringBuilder
Initializes a new instance of the SphinxQLConnectionStringBuilder class.
Public methodSphinxQLConnectionStringBuilder(String)
Initializes a new instance of the SphinxQLConnectionStringBuilder class.
Top
Properties
  NameDescription
Public propertyBrowsableConnectionString
Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
(Inherited from DbConnectionStringBuilder.)
Public propertyConnectionString
Gets or sets the connection string associated with the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Public propertyConnectionTimeout
Gets or sets the connection timeout.
Public propertyCount
Gets the current number of keys that are contained within the ConnectionString property.
(Inherited from DbConnectionStringBuilder.)
Public propertyEncoding
Gets or sets the encoding that is used to send queries to and retrieve results from Sphinx. Default is utf-8.
Public propertyEnlist
Gets or sets a value indicating whether connections should automatically enlist in an ambient Transaction. Default is true.
Public propertyHost
Gets or sets the host of the instance of Sphinx to connect to.
Public propertyIsFixedSize
Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
(Inherited from DbConnectionStringBuilder.)
Public propertyIsReadOnly
Gets a value that indicates whether the DbConnectionStringBuilder is read-only.
(Inherited from DbConnectionStringBuilder.)
Public propertyItem
Gets or sets the Object with the specified keyword.
(Overrides DbConnectionStringBuilderItemString.)
Public propertyKeys
Gets an ICollection that contains the keys in the SphinxQLConnectionStringBuilder.
(Overrides DbConnectionStringBuilderKeys.)
Public propertyMaxPoolSize
Gets or sets the maximum number of connections allowed in the connection pool for this specific connection string.
Public propertyMinPoolSize
Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string.
Public propertyPoolingEnabled
Gets or sets a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested.
Public propertyPort
Gets or sets the port to connect to.
Public propertySocketReceiveBufferSize
Gets or sets the receive buffer size for the socket connecting to searchd. Default is null, which uses the default value for the platform.
Public propertySocketSendBufferSize
Gets or sets the send buffer size for the socket connecting to searchd. Default is null, which uses the default value for the platform.
Public propertyTcpNoDelay
Gets or sets whether to disable Nagle's algorithm for the socket connecting to searchd. Default is false.
Public propertyValues
Gets an ICollection that contains the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Top
Methods
  NameDescription
Public methodAdd
Adds an entry with the specified key and value into the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Public methodClear
Clears the contents of the SphinxQLConnectionStringBuilder instance.
(Overrides DbConnectionStringBuilderClear.)
Public methodContainsKey
Determines whether the SphinxQLConnectionStringBuilder contains a specific key.
(Overrides DbConnectionStringBuilderContainsKey(String).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquivalentTo
Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
(Inherited from DbConnectionStringBuilder.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the entry with the specified key from the SphinxQLConnectionStringBuilder instance.
(Overrides DbConnectionStringBuilderRemove(String).)
Public methodShouldSerialize
Indicates whether the specified key exists in this DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder.)
Public methodToString
Returns the connection string associated with this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Public methodTryGetValue
Retrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIDictionaryAdd
Adds an element with the provided key and value to the IDictionary object.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodIDictionaryContains
Determines whether the IDictionary object contains an element with the specified key.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetAttributes
Returns a collection of custom attributes for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetClassName
Returns the class name of this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetComponentName
Returns the name of this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetConverter
Returns a type converter for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultEvent
Returns the default event for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultProperty
Returns the default property for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEditor
Returns an editor of the specified type for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodIDictionaryGetEnumerator
Returns an IDictionaryEnumerator object for the IDictionary object.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEvents
Returns the events for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEvents(Attribute)
Returns the events for this instance of a component using the specified attribute array as a filter.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetProperties
Returns the properties for this instance of a component.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetProperties(Attribute)
Returns the properties for this instance of a component using the attribute array as a filter.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetPropertyOwner
Returns an object that contains the property described by the specified property descriptor.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate propertyIDictionaryItem
Gets or sets the element with the specified key.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate methodIDictionaryRemove
Removes the element with the specified key from the IDictionary object.
(Inherited from DbConnectionStringBuilder.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from DbConnectionStringBuilder.)
Top
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.
See Also