SphinxQLConnectionStringBuilder 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
C#
public class SphinxQLConnectionStringBuilder : 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

BrowsableConnectionStringGets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
(Inherited from DbConnectionStringBuilder)
ConnectionStringGets or sets the connection string associated with the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
ConnectionTimeout Gets or sets the connection timeout.
CountGets 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.
IsFixedSizeGets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
(Inherited from DbConnectionStringBuilder)
IsReadOnlyGets 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.
ValuesGets an ICollection that contains the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)

Methods

AddAdds 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))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
EquivalentToCompares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
(Inherited from DbConnectionStringBuilder)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Remove Removes the entry with the specified key from the SphinxQLConnectionStringBuilder instance.
(Overrides DbConnectionStringBuilderRemove(String))
ShouldSerializeIndicates whether the specified key exists in this DbConnectionStringBuilder instance.
(Inherited from DbConnectionStringBuilder)
ToStringReturns the connection string associated with this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)
TryGetValueRetrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder)

Explicit Interface Implementations

IDictionaryAddAdds an element with the provided key and value to the IDictionary object.
(Inherited from DbConnectionStringBuilder)
IDictionaryContainsDetermines whether the IDictionary object contains an element with the specified key.
(Inherited from DbConnectionStringBuilder)
ICollectionCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetAttributesReturns a collection of custom attributes for this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetClassNameReturns the class name of this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetComponentNameReturns the name of this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetConverterReturns a type converter for this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetDefaultEventReturns the default event for this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetDefaultPropertyReturns the default property for this instance of a component.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetEditorReturns an editor of the specified type for this instance of a component.
(Inherited from DbConnectionStringBuilder)
IDictionaryGetEnumeratorReturns an IDictionaryEnumerator object for the IDictionary object.
(Inherited from DbConnectionStringBuilder)
IEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from DbConnectionStringBuilder)
ICustomTypeDescriptorGetEventsReturns 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)
ICustomTypeDescriptorGetPropertiesReturns 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)
ICustomTypeDescriptorGetPropertyOwnerReturns an object that contains the property described by the specified property descriptor.
(Inherited from DbConnectionStringBuilder)
ICollectionIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from DbConnectionStringBuilder)
IDictionaryItemGets or sets the element with the specified key.
(Inherited from DbConnectionStringBuilder)
IDictionaryRemoveRemoves the element with the specified key from the IDictionary object.
(Inherited from DbConnectionStringBuilder)
ICollectionSyncRootGets 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.

See Also