Responsible for removing object in data source. Object will not be removed from cache if it fails is not removed from data source.

Namespace: Alachisoft.NCache.Runtime.DatasourceProviders
Assembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)

Syntax

C#
bool RemoveFromSource(
	string key
)
Visual Basic
Function RemoveFromSource ( _
	key As String _
) As Boolean
Visual C++
bool RemoveFromSource(
	String^ key
)

Parameters

key
Type: System..::..String
key used to reference the object

Return Value

true if remove operation is successful, false otherwise

See Also