GetCurrentVersion Method

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

Syntax

'Declaration

  Function GetCurrentVersion ( _
    transactionContext As Object, _
    type As String, _
    key As String _
) As Long
'Usage

  Dim instance As ICustomProvider
Dim transactionContext As Object
Dim type As String
Dim key As String
Dim returnValue As Long

returnValue = instance.GetCurrentVersion(transactionContext, _
    type, key)
  long GetCurrentVersion(
    Object transactionContext,
    string type,
    string key
)
  long long GetCurrentVersion(
    Object^ transactionContext, 
    String^ type, 
    String^ key
)
  abstract GetCurrentVersion : 
        transactionContext:Object * 
        type:string * 
        key:string -> int64 
  function GetCurrentVersion(
    transactionContext : Object, 
    type : String, 
    key : String
) : long

Parameters

Return Value

Type: System. . :: . .Int64
Returns Int64.

See Also

Reference

ICustomProvider Interface

Microsoft.ApplicationServer.Caching Namespace