Click or drag to resize

ConnectionStringConfiguratorIsThis Method

Sets the connection string to the given value.

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

Parameters

connectionString  String
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.
Example
IFulltextStore fulltextStore = new FulltextStore().Initialize(); fulltextStore.ConnectionString.IsThis("datasource=192.168.105;port=9306");
See Also