Workstation.EnsureUpdateWorkspaceInfoCache Method (VersionControlServer, String, TimeSpan)
Makes sure that the workspace information cache is updated.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub EnsureUpdateWorkspaceInfoCache ( _
sourceControl As VersionControlServer, _
ownerName As String, _
maxAge As TimeSpan _
)
public void EnsureUpdateWorkspaceInfoCache(
VersionControlServer sourceControl,
string ownerName,
TimeSpan maxAge
)
public:
void EnsureUpdateWorkspaceInfoCache(
VersionControlServer^ sourceControl,
String^ ownerName,
TimeSpan maxAge
)
member EnsureUpdateWorkspaceInfoCache :
sourceControl:VersionControlServer *
ownerName:string *
maxAge:TimeSpan -> unit
public function EnsureUpdateWorkspaceInfoCache(
sourceControl : VersionControlServer,
ownerName : String,
maxAge : TimeSpan
)
Parameters
sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServerThe source control repository.
ownerName
Type: System.StringThe owner of the workspace.
maxAge
Type: System.TimeSpanThe maximum age of the last request.
.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.