The SphinxQLConnection type exposes the following members.

Constructors

  Name Description
Public method SphinxQLConnection()()()()
Initializes a new instance of the SphinxQLConnection class.
Public method SphinxQLConnection(String)
Initializes a new instance of the SphinxQLConnection class.

Methods

  Name Description
Public method BeginTransaction()()()()
Begins a new transaction.
Public method BeginTransaction(IsolationLevel)
Begins a new transaction with the specified isolation level. Not supported.
Public method ChangeDatabase
Changes the current database for an open connection. Not supported.
(Overrides DbConnection..::..ChangeDatabase(String).)
Public method Close
Closes the connection to Sphinx. This is the preferred method of closing any open connection.
(Overrides DbConnection..::..Close()()()().)
Public method CreateCommand()()()()
Creates and returns a SphinxQLCommand object associated with the current connection.
Public method CreateCommand(String)
Creates and returns a SphinxQLCommand object associated with the current connection and the provided command text.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Dispose
Releases all resources used by the Component.
(Inherited from Component.)
Public method EnlistTransaction(Transaction)
Enlists in the specified transaction.
(Inherited from DbConnection.)
Public method EnlistTransaction(Transaction)
Enlists in the specified transaction.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetSchema()()()()
Returns schema information for the data source of this SphinxQLConnection. Not supported.
(Overrides DbConnection..::..GetSchema()()()().)
Public method GetSchema(String)
Returns schema information for the data source of this SphinxQLConnection using the specified string for the schema name. Not supported.
(Overrides DbConnection..::..GetSchema(String).)
Public method GetSchema(String, array<String>[]()[][])
Returns schema information for the data source of this SphinxQLConnection using the specified string for the schema name and the specified string array for the restriction values. Not supported.
(Overrides DbConnection..::..GetSchema(String, array<String>[]()[][]).)
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method Open
Opens a connection to Sphinx.
(Overrides DbConnection..::..Open()()()().)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Properties

  Name Description
Public property ConnectionString
Gets or sets the string used to open the connection.
(Overrides DbConnection..::..ConnectionString.)
Public property ConnectionTimeout
Gets the time (in seconds) to wait while establishing a connection before terminating the attempt and generating an error.
(Overrides DbConnection..::..ConnectionTimeout.)
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property Database
Always returns "Sphinx".
(Overrides DbConnection..::..Database.)
Public property DataSource
Gets the name of the Sphinx server to which to connect.
(Overrides DbConnection..::..DataSource.)
Public property ServerVersion
Gets a string that represents the version of the server to which the object is connected.
(Overrides DbConnection..::..ServerVersion.)
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property State
Gets a string that describes the state of the connection.
(Overrides DbConnection..::..State.)

Events

  Name Description
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public event StateChange
Occurs when the state of the event changes.
(Inherited from DbConnection.)

Explicit Interface Implementations

See Also