SALES: 1-800-867-1380

Remove Method (String)

Removes an object from the cache.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Public Function Remove ( _
	key As String _
) As Boolean
Dim instance As DataCache
Dim key As String
Dim returnValue As Boolean

returnValue = instance.Remove(key)


Type: System..::..String
The unique value that is used to identify the object in the region.

Return Value

Type: System..::..Boolean
True if the object identified by the key is removed; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft