VersionControlServer.CreateWorkspace Method (CreateWorkspaceParameters)
Creates a new Workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function CreateWorkspace ( _
createWorkspaceParameters As CreateWorkspaceParameters _
) As Workspace
public Workspace CreateWorkspace(
CreateWorkspaceParameters createWorkspaceParameters
)
public:
Workspace^ CreateWorkspace(
CreateWorkspaceParameters^ createWorkspaceParameters
)
member CreateWorkspace :
createWorkspaceParameters:CreateWorkspaceParameters -> Workspace
public function CreateWorkspace(
createWorkspaceParameters : CreateWorkspaceParameters
) : Workspace
Parameters
createWorkspaceParameters
Type: Microsoft.TeamFoundation.VersionControl.Client.CreateWorkspaceParametersThe workspace parameter.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The created 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.