WorkspaceInfo.GetWorkspace Method
Get the workspace object that matches this WorkspaceInfo.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetWorkspace ( _
tfs As TeamFoundationServer _
) As Workspace
'Usage
Dim instance As WorkspaceInfo
Dim tfs As TeamFoundationServer
Dim returnValue As Workspace
returnValue = instance.GetWorkspace(tfs)
public Workspace GetWorkspace(
TeamFoundationServer tfs
)
public:
Workspace^ GetWorkspace(
TeamFoundationServer^ tfs
)
public function GetWorkspace(
tfs : TeamFoundationServer
) : Workspace
Parameters
tfs
Type: Microsoft.TeamFoundation.Client.TeamFoundationServerThe Team Foundation Server hosting the workspace.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
Returns 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.