ConnectionStringConfiguratorIsThis Method

Sets the connection string to the given value.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public void IsThis(
	string connectionString
)

Parameters

connectionString  String
The connection string.

Example

C#
IFulltextStore fulltextStore = new FulltextStore().Initialize();
fulltextStore.ConnectionString.IsThis("datasource=192.168.105;port=9306");

Exceptions

ArgumentNullExceptionOccurs when the provided string is null.
ArgumentExceptionOccurs when the provided string is empty.
InvalidOperationExceptionOccurs in case the connection string has already been set.

See Also