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
'Déclaration
Public Function RemoveCachedWorkspaceInfo ( _
sourceControl As VersionControlServer, _
ownerName As String _
) As WorkspaceInfo()
public WorkspaceInfo[] RemoveCachedWorkspaceInfo(
VersionControlServer sourceControl,
string ownerName
)
public:
array<WorkspaceInfo^>^ RemoveCachedWorkspaceInfo(
VersionControlServer^ sourceControl,
String^ ownerName
)
member RemoveCachedWorkspaceInfo :
sourceControl:VersionControlServer *
ownerName:string -> WorkspaceInfo[]
public function RemoveCachedWorkspaceInfo(
sourceControl : VersionControlServer,
ownerName : String
) : WorkspaceInfo[]
Parameters
- sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The source control repository.
- ownerName
Type: System.String
The owner of the workspaces.
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.