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
'宣告
Public Sub RefreshIfNeeded
public void RefreshIfNeeded()
public:
void RefreshIfNeeded()
member RefreshIfNeeded : unit -> unit
public function RefreshIfNeeded()
.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.