The area hierarchy is defined by the Integration Services (BIS). WorkItemTracking is a consumer of this hierarchy and thus provides no means of modifying the structure via its OM or web services.
To modify the structure, you can the following:
1. Via the UI. Right click on a project. Go to Settings->Areas and Iterations. This will provide you ways of renaming, deleting, creating etc.
2. Via the OM. You would have to use the ICommonStructureService interface to make changes via code. An instance of the ICommonStructureService can be retrieved from a TeamFoundationServer instance by calling GetService(typeof(ICommonStructureService));
I don't think its possible to create custom attribute for Areas. What scenario are you trying to enable with this
Thanks, Karthik
|