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: 6.0.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 propertyBrowsableConnectionStringGets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
(Inherited from DbConnectionStringBuilder)
Public propertyConnectionStringGets or sets the connection string associated with the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
Public propertyConnectionTimeout Gets or sets the connection timeout.
Public propertyCountGets 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 propertyIsFixedSizeGets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
(Inherited from DbConnectionStringBuilder)
Public propertyIsReadOnlyGets 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 propertyValuesGets an ICollection that contains the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
Top
Methods
 NameDescription
Public methodAddAdds 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEquivalentToCompares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
(Inherited from DbConnectionStringBuilder)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets 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 methodShouldSerializeIndicates whether the specified key exists in this DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder)
Public methodToStringReturns the connection string associated with this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
Public methodTryGetValueRetrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodIDictionaryAddAdds an element with the provided key and value to the IDictionary object.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodIDictionaryContainsDetermines whether the IDictionary object contains an element with the specified key.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICollectionCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetAttributesReturns a collection of custom attributes for this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetClassNameReturns the class name of this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetComponentNameReturns the name of this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetConverterReturns a type converter for this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultEventReturns the default event for this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultPropertyReturns the default property for this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEditorReturns an editor of the specified type for this instance of a component.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodIDictionaryGetEnumeratorReturns an IDictionaryEnumerator object for the IDictionary object.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEventsReturns 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 methodICustomTypeDescriptorGetPropertiesReturns 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 methodICustomTypeDescriptorGetPropertyOwnerReturns an object that contains the property described by the specified property descriptor.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate propertyICollectionIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate propertyIDictionaryItemGets or sets the element with the specified key.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate methodIDictionaryRemoveRemoves the element with the specified key from the IDictionary object.
(Inherited from DbConnectionStringBuilder)
Explicit interface implementationPrivate propertyICollectionSyncRootGets 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