Workstation.RemoveCachedWorkspaceInfo Method (VersionControlServer, String)

Removes the workspaces that are associated with the specified repository from the cache.

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

Syntax

'Declaration
Public Function RemoveCachedWorkspaceInfo ( _
    sourceControl As VersionControlServer, _
    workspaceOwner As String _
) As WorkspaceInfo()
public WorkspaceInfo[] RemoveCachedWorkspaceInfo(
    VersionControlServer sourceControl,
    string workspaceOwner
)
public:
array<WorkspaceInfo^>^ RemoveCachedWorkspaceInfo(
    VersionControlServer^ sourceControl, 
    String^ workspaceOwner
)
member RemoveCachedWorkspaceInfo : 
        sourceControl:VersionControlServer * 
        workspaceOwner:string -> WorkspaceInfo[] 
public function RemoveCachedWorkspaceInfo(
    sourceControl : VersionControlServer, 
    workspaceOwner : String
) : WorkspaceInfo[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo[]
An array of the workspaces that were removed from the cache.

.NET Framework Security

See Also

Reference

Workstation Class

RemoveCachedWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace