Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ( _
requestContext As TeamFoundationRequestContext, _
serverId As String, _
cacheSize As Long, _
fileCount As Integer _
)
public void UpdateCacheSize(
TeamFoundationRequestContext requestContext,
string serverId,
long cacheSize,
int fileCount
)
public:
void UpdateCacheSize(
TeamFoundationRequestContext^ requestContext,
String^ serverId,
long long cacheSize,
int fileCount
)
member UpdateCacheSize :
requestContext:TeamFoundationRequestContext *
serverId:string *
cacheSize:int64 *
fileCount:int -> unit
public function UpdateCacheSize(
requestContext : TeamFoundationRequestContext,
serverId : String,
cacheSize : long,
fileCount : int
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context associated with the update
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.