This project is read-only.

Question: How do I enforce a policy?

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode


Team Foundation Version Control will not prevent someone from overriding a policy. However, you can use the following steps to detect if a policy has been overridden:
  • Use the Team Foundation Eventing Service (from the Team Foundation Core Services API) for hooking into check-in events.
  • Write a Notify method that parses the details of the changeset, and then react to it if an override has occurred.

Alternatively, you can manually scan changeset history to discover policy overrides.

Additional Resources

Last edited Jul 18, 2007 at 11:21 PM by jtaylorsi, version 6


No comments yet.