Delen via


IProcessTemplates.AddUpdateTemplate Method

Add or update a template with the given properties.

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

Syntax

'Declaration
Sub AddUpdateTemplate ( _
    name As String, _
    description As String, _
    metadata As String, _
    state As String, _
    zipFileName As String _
)
void AddUpdateTemplate(
    string name,
    string description,
    string metadata,
    string state,
    string zipFileName
)
void AddUpdateTemplate(
    String^ name, 
    String^ description, 
    String^ metadata, 
    String^ state, 
    String^ zipFileName
)
abstract AddUpdateTemplate : 
        name:string * 
        description:string * 
        metadata:string * 
        state:string * 
        zipFileName:string -> unit
function AddUpdateTemplate(
    name : String, 
    description : String, 
    metadata : String, 
    state : String, 
    zipFileName : String
)

Parameters

  • metadata
    Type: System.String

    Extra metadata associated with the template

  • state
    Type: System.String

    This value is no longer used and will be ignored

  • zipFileName
    Type: System.String

    The name of the zip file that contains the process template resources

.NET Framework Security

See Also

Reference

IProcessTemplates Interface

Microsoft.TeamFoundation.Server Namespace