TFS API - How to determine if a server path exists?

Posted by Randy Minder on Stack Overflow See other posts from Stack Overflow or by Randy Minder
Published on 2010-05-13T20:58:16Z Indexed on 2010/05/13 21:04 UTC
Read the original article Hit count: 485

Filed under:

In my code, I'm calling Workspace.Map(serverPath,localPath). If 'serverPath' doesn't exist in TFS, this call doesn't fail or throw an exception. But it does cause me problems later. Is there a TFS API call I can make to determine if a server path exists?

Thanks - Randy

© Stack Overflow or respective owner

Related posts about tfs