SPCache.GetItemCount Method
Returns the number of objects in the cache with the specified object type.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Function GetItemCount ( _
objectTypeName As String _
) As UInteger
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim returnValue As UInteger
returnValue = instance.GetItemCount(objectTypeName)
public uint GetItemCount(
string objectTypeName
)
Parameters
- objectTypeName
Type: System.String
Return Value
Type: System.UInt32
Returns UInt32.