, , , WorkSpace VS . WorkSpace .
:
CMD VS
: tf workspace /new /s:http://tfs2010.server.com:8080/tfs
:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>tf workspace /new /s:http:
:
: , ( char)
: $/FolderName
: C:\FolderName
this._server = config.GetAttribute("server");
**this._workspace = config.GetAttribute("workspace");**
this._user = config.GetAttribute("user");
this._password = config.GetAttribute("psw");
TeamFoundationServer tfs = new TeamFoundationServer(this._server, new System.Net.NetworkCredential(this._user, this._password));
tfs.Authenticate();
VersionControlServer versionControl = (VersionControlServer)tfs.GetService(typeof(VersionControlServer));
Workspace ws = versionControl.GetWorkspace(this._workspace, this._user);