Workstation.UpdateWorkspaceInfoCache Method (VersionControlServer, String, array<Workspace[]%)
Updates the cache with the workspace info 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
'Декларация
Public Sub UpdateWorkspaceInfoCache ( _
sourceControl As VersionControlServer, _
ownerName As String, _
<OutAttribute> ByRef workspaces As Workspace() _
)
public void UpdateWorkspaceInfoCache(
VersionControlServer sourceControl,
string ownerName,
out Workspace[] workspaces
)
public:
void UpdateWorkspaceInfoCache(
VersionControlServer^ sourceControl,
String^ ownerName,
[OutAttribute] array<Workspace^>^% workspaces
)
member UpdateWorkspaceInfoCache :
sourceControl:VersionControlServer *
ownerName:string *
workspaces:Workspace[] byref -> unit
public function UpdateWorkspaceInfoCache(
sourceControl : VersionControlServer,
ownerName : String,
workspaces : Workspace[]
)
Parameters
- sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The source control repository.
- ownerName
Type: System.String
The owner of the workspaces.
- workspaces
Type: array<Microsoft.TeamFoundation.VersionControl.Client.Workspace[]%
An array of the workspaces that were updated.
.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.