This documentation is archived and is not being maintained.
IProcessTemplates.AddTemplate Method
Visual Studio 2013
Note: This API is now 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.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
[ObsoleteAttribute("Please use AddUpdateTemplate instead")] int AddTemplate( string name, string description, string metadata, string state )
Parameters
- name
- Type: System.String
The name of the template
- description
- Type: System.String
A description of the template
- metadata
- Type: System.String
Extra metadata associated with the template
- state
- Type: System.String
This value is no longer used and will be ignored
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: