Ensures that the workspace info cache is updated.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub EnsureUpdateWorkspaceInfoCache ( _
    sourceControl As VersionControlServer, _
    ownerName As String _
)
public void EnsureUpdateWorkspaceInfoCache(
    VersionControlServer sourceControl,
    string ownerName
)
public:
void EnsureUpdateWorkspaceInfoCache(
    VersionControlServer^ sourceControl, 
    String^ ownerName
)
member EnsureUpdateWorkspaceInfoCache : 
        sourceControl:VersionControlServer * 
        ownerName:string -> unit 
public function EnsureUpdateWorkspaceInfoCache(
    sourceControl : VersionControlServer, 
    ownerName : String
)
Parameters
- sourceControl
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
 The source control repository.
- ownerName
 Type: System.String
 The owner of the workspace.
.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.