다음을 통해 공유


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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ProcessTemplate Class

Microsoft.TeamFoundation.Server Namespace