Share via


Workstation.RemoveCachedWorkspaceInfo Method (Uri, String, String)

Removes the specified workspace from the cache.

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

Syntax

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

Parameters

  • serverUri
    Type: System.Uri

    The URI of the server that contains the workspace to remove from cache. Null to match all servers.

  • workspaceName
    Type: System.String

    The name of the workspace to remove from cache. Null to match all workspaces.

  • workspaceOwner
    Type: System.String

    The owner of the workspace to remove from the cache. Null to match all owners.

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