Hi,
Through my application I want to fetch (using object model APIs) the check-in policies and check-out setting of a team project.
I checked out classes like PolicyList, PolicyType from
Microsoft.TeamFoundation.VersionControl.Client, but none of them give
the list of exisiting check-in policies or check-out settings (ie.
whether multiple check outs are allowed)
Manasi

Finding check-in policies and check out settings
Bill Reiss
Manasi
Sandeepp
Hello,
you need object of class TeamProject. It contains:
A few ways to get TeamProject is Workspace.GetTeamProjectForLocalPath or VersionControlServer.GetTeamProject or VersionControlServer.GetTeamProjectForServerPath
xavito
Manasi
Inmon
Additionally, you may want to use GetFileTypes method of VersionControlServer. That will return server-wide settings for file types (extensions), and you may check whether multiple check outs are allowed for specific extension.
Regards, Eugene