C-DEngine 5.105

TheStorageMirror<(Of <(<'T>)>)>..::..SetRecordExpiration Method

Sets a time in seconds after which Record entries will be removed from the Database If a callback is specified, the callback will be called for each record that will be deleted.

Namespace:  nsCDEngine.Engines.StorageService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void SetRecordExpiration(
	int tSeconds,
	Action<T> pEventRecordExpired
)
Public Sub SetRecordExpiration ( _
	tSeconds As Integer, _
	pEventRecordExpired As Action(Of T) _
)
public:
void SetRecordExpiration(
	int^ tSeconds, 
	Action<T>^ pEventRecordExpired
)

Parameters

tSeconds
Type: Int32
pEventRecordExpired
Type: Action<(Of <(<'T>)>)>