Responsible for adding object in data source.
Object will not be added to cache if it fails to add in data source.
Namespace: Alachisoft.NCache.Runtime.DatasourceProvidersAssembly: Alachisoft.NCache.Runtime (in Alachisoft.NCache.Runtime.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
C# |
---|
bool AddToSource( string key, Object value ) |
Visual Basic |
---|
Function AddToSource ( _ key As String, _ value As Object _ ) As Boolean |
Visual C++ |
---|
bool AddToSource( String^ key, Object^ value ) |
Parameters
- key
- Type: System..::..String
key used to reference the object
- value
- Type: System..::..Object
object