Delen via


Workspace.RefreshIfNeeded Method

Refreshes this Workspace instance from the server if properties that cannot be cached are stale or have not been loaded. Properties that cannot be cached include working folders and effective permissions.

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

Syntax

'Declaration
Public Sub RefreshIfNeeded
public void RefreshIfNeeded()
public:
void RefreshIfNeeded()
member RefreshIfNeeded : unit -> unit
public function RefreshIfNeeded()

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace