Click or drag to resize

ConnectionStringConfiguratorIsThis Method

Sets the connection string to the given value.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public void IsThis(
	string connectionString
)

Parameters

connectionString
Type: SystemString
The connection string.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs when the provided string is null.
ArgumentExceptionOccurs when the provided string is empty.
InvalidOperationExceptionOccurs in case the connection string has already been set.
Examples
IFulltextStore fulltextStore = new FulltextStore().Initialize();
fulltextStore.ConnectionString.IsThis("datasource=192.168.105;port=9306");
See Also