I need to be able to programmatically set the Active property of a Milestone to false. I looked through the VaultClientIntegrationLib.chm and didn't see anything that would describe how to do this. Do you have any suggestions?
Stephen
How to Programmatically Set the Active State of a Milestone
Moderator: SourceGear
Re: How to Programmatically Set the Active State of a Milestone
We don't do this on the client side, so there isn't a convenience method for it. You'll have to call the web service.
Get the MantisMilestone object you want to modify (you can use this method to list the milestones: ItemTrackingOperations.ProcessCommandListFortressMilestones) and set the Active property to false.
Then your call to modify will look something like this:
ServerOperations.client.ClientInstance.Connection.DragnetServiceInstance.ModifyMilestone(milestone.ProjectID, milestone)
Get the MantisMilestone object you want to modify (you can use this method to list the milestones: ItemTrackingOperations.ProcessCommandListFortressMilestones) and set the Active property to false.
Then your call to modify will look something like this:
ServerOperations.client.ClientInstance.Connection.DragnetServiceInstance.ModifyMilestone(milestone.ProjectID, milestone)
Re: How to Programmatically Set the Active State of a Milestone
Excellent! Thanks for the speedy reply. I'll give this a shot.
Stephen
Stephen