ProxyStatistics.UpdateCacheSize Method

This called to update the size of a server's cache. It can be called by using both positive or negative numbers appropriately.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub UpdateCacheSize ( _
    serverId As String, _
    cacheSize As Long, _
    fileCount As Integer _
)
public void UpdateCacheSize(
    string serverId,
    long cacheSize,
    int fileCount
)
public:
void UpdateCacheSize(
    String^ serverId, 
    long long cacheSize, 
    int fileCount
)
member UpdateCacheSize : 
        serverId:string * 
        cacheSize:int64 * 
        fileCount:int -> unit
public function UpdateCacheSize(
    serverId : String, 
    cacheSize : long, 
    fileCount : int
)

Parameters

  • fileCount
    Type: System.Int32

    Number of files being added or removed from the cache

.NET Framework Security

See Also

Reference

ProxyStatistics Class

Microsoft.TeamFoundation.Framework.Server Namespace