ProcessTemplate.AddTemplate Method
Note: This API is now obsolete.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Server (in Microsoft.TeamFoundation.Server.dll)
Syntax
‘선언
<ObsoleteAttribute("Please use methodologyUpload.ashx http handler for creating/updating templates, or the 'AddUpdateTemplate' method in the proxy.")> _
<WebMethodAttribute> _
Public Function AddTemplate ( _
name As String, _
description As String, _
metadata As String, _
state As String _
) As Integer
[ObsoleteAttribute("Please use methodologyUpload.ashx http handler for creating/updating templates, or the 'AddUpdateTemplate' method in the proxy.")]
[WebMethodAttribute]
public int AddTemplate(
string name,
string description,
string metadata,
string state
)
[ObsoleteAttribute(L"Please use methodologyUpload.ashx http handler for creating/updating templates, or the 'AddUpdateTemplate' method in the proxy.")]
[WebMethodAttribute]
public:
int AddTemplate(
String^ name,
String^ description,
String^ metadata,
String^ state
)
[<ObsoleteAttribute("Please use methodologyUpload.ashx http handler for creating/updating templates, or the 'AddUpdateTemplate' method in the proxy.")>]
[<WebMethodAttribute>]
member AddTemplate :
name:string *
description:string *
metadata:string *
state:string -> int
public function AddTemplate(
name : String,
description : String,
metadata : String,
state : String
) : int
Parameters
- name
Type: System.String
- description
Type: System.String
- metadata
Type: System.String
- state
Type: System.String
Return Value
Type: System.Int32
.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.