Detect When a Policy Has Been Overridden

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

Team Foundation Version Control does not prevent you 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 26, 2007 at 9:49 AM by prashantbansode, version 2

Comments

No comments yet.