Bagikan melalui


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

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The created workspace.

.NET Framework Security

See Also

Reference

VersionControlServer Class

CreateWorkspace Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace