Responsible for adding array of objects in data source. Objects, who failed to add, will not be added in cache

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#
Hashtable AddToSource(
	string[] keys,
	Object[] vals
)
Visual Basic
Function AddToSource ( _
	keys As String(), _
	vals As Object() _
) As Hashtable
Visual C++
Hashtable^ AddToSource(
	array<String^>^ keys, 
	array<Object^>^ vals
)

Parameters

keys
Type: array<System..::..String>[]()[][]
array of keys
vals
Type: array<System..::..Object>[]()[][]
array of objects

Return Value

dictionary of keys, that failed, and exception

See Also