CreateWorkspaceParameters.Location Property

Set this value to WorkspaceLocation.Local to indicate the workspace to be created should be a local workspace. Set this value to WorkspaceLocation.Server to indicate the workspace to be created should be a server-side or "traditional" workspace, which is the only kind of workspace backward compatible with TFS 2005-2010 clients.

The default value if not provided is determined from the server.

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

Syntax

'Declaration
Public Property Location As Nullable(Of WorkspaceLocation)
public Nullable<WorkspaceLocation> Location { get; set; }
public:
property Nullable<WorkspaceLocation> Location {
    Nullable<WorkspaceLocation> get ();
    void set (Nullable<WorkspaceLocation> value);
}
member Location : Nullable<WorkspaceLocation> with get, set
function get Location () : Nullable<WorkspaceLocation>
function set Location (value : Nullable<WorkspaceLocation>)

Property Value

Type: System.Nullable<WorkspaceLocation>
The WorkspaceLocation.Local to indicate the workspace to be created should be a local workspace. Set this value to WorkspaceLocation.Server to indicate the workspace to be created should be a server-side or "traditional" workspace, which is the only kind of workspace backward compatible with TFS 2005-2010 clients.

.NET Framework Security

See Also

Reference

CreateWorkspaceParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace