TeamFoundationProcessTemplateService.SetDefaultTemplate Method
Set the template with the given id as the default template
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetDefaultTemplate ( _
requestContext As TeamFoundationRequestContext, _
templateId As Integer _
)
public void SetDefaultTemplate(
TeamFoundationRequestContext requestContext,
int templateId
)
public:
void SetDefaultTemplate(
TeamFoundationRequestContext^ requestContext,
int templateId
)
member SetDefaultTemplate :
requestContext:TeamFoundationRequestContext *
templateId:int -> unit
public function SetDefaultTemplate(
requestContext : TeamFoundationRequestContext,
templateId : int
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
templateId
Type: System.Int32The id of the template to make default
.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.