Makes sure that the workspace info cache is updated.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
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.VersionControlServer
 The source control repository.
- ownerName
 Type: System.String
 The owner of the workspace.
- maxAge
 Type: System.TimeSpan
 The 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.