共用方式為


IProcessTemplates Interface

Service interface for managing process templates (add, delete, etc.)

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Interface IProcessTemplates
public interface IProcessTemplates
public interface class IProcessTemplates
type IProcessTemplates =  interface end
public interface IProcessTemplates

The IProcessTemplates type exposes the following members.

Methods

  Name Description
Public method AddTemplate Obsolete. This method is obsolete. Please use AddUpdateTemplate instead. Add a template with the given properties. If a template already exists with the given name, it will be overwritten.
Public method AddUpdateTemplate Add or update a template with the given properties.
Public method DeleteTemplate Tele a template with the given id
Public method GetTemplateData Retrieve a methodology zip file to a temporary file path
Public method GetTemplateIndex Gets the index of the template with the given name or -1 if the template could not be found.
Public method GetTemplateNames Obsolete. This method is obsolete. Please use the TemplateHeaders method instead Get the template names in XML package.
Public method MakeDefaultTemplate Set the given template to be the default template
Public method TemplateHeaders Get a list of the headers for all process templates on the server. The first entry will be the default template (if any).
Public method UploadMethodology Obsolete. This method is obsolete. Please use AddUpdateTemplate instead. Uploads the template resources for the given template id

Top

See Also

Reference

Microsoft.TeamFoundation.Server Namespace