Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.UriThe URI of the server that contains the workspace to remove from cache. Null to match all servers.
workspaceName
Type: System.StringThe name of the workspace to remove from cache. Null to match all workspaces.
workspaceOwner
Type: System.StringThe 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
- 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.