ProxyStatistics.UpdateCacheSize Method
This called to update the size of a servers cache. It can be called with both positive or negative numbers appropriately.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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
serverId
Type: System.StringServer being updated.
cacheSize
Type: System.Int64Adjustment size to the cache.
fileCount
Type: System.Int32Number of files being added or removed from the cache.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.