Creates a new build process template, to be used by build definitions.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Function CreateProcessTemplate ( _
    teamProject As String, _
    serverPath As String _
) As IProcessTemplate
IProcessTemplate CreateProcessTemplate(
    string teamProject,
    string serverPath
)
IProcessTemplate^ CreateProcessTemplate(
    String^ teamProject, 
    String^ serverPath
)
abstract CreateProcessTemplate : 
        teamProject:string * 
        serverPath:string -> IProcessTemplate 
function CreateProcessTemplate(
    teamProject : String, 
    serverPath : String
) : IProcessTemplate
Parameters
- teamProject
 Type: System.String
 The Team Project for which a process template is created.
- serverPath
 Type: System.String
 The version control path of the build process XAML file.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IProcessTemplate
The new build process template.
.NET Framework Security
- 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.