共用方式為


Workstation.UpdateWorkspaceInfoCache Method (VersionControlServer, String)

Updates the cache with the workspace information objects that are associated with the specified repository.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub UpdateWorkspaceInfoCache ( _
    sourceControl As VersionControlServer, _
    ownerName As String _
)
public void UpdateWorkspaceInfoCache(
    VersionControlServer sourceControl,
    string ownerName
)
public:
void UpdateWorkspaceInfoCache(
    VersionControlServer^ sourceControl, 
    String^ ownerName
)
member UpdateWorkspaceInfoCache : 
        sourceControl:VersionControlServer * 
        ownerName:string -> unit
public function UpdateWorkspaceInfoCache(
    sourceControl : VersionControlServer, 
    ownerName : String
)

Parameters

.NET Framework Security

See Also

Reference

Workstation Class

UpdateWorkspaceInfoCache Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace