Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a Team on server that has optional properties
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function CreateTeam ( _
    projectId As String, _
    name As String, _
    description As String, _
    properties As IDictionary(Of String, Object) _
) As TeamFoundationTeam
public TeamFoundationTeam CreateTeam(
    string projectId,
    string name,
    string description,
    IDictionary<string, Object> properties
)
public:
TeamFoundationTeam^ CreateTeam(
    String^ projectId, 
    String^ name, 
    String^ description, 
    IDictionary<String^, Object^>^ properties
)
member CreateTeam : 
        projectId:string * 
        name:string * 
        description:string * 
        properties:IDictionary<string, Object> -> TeamFoundationTeam
public function CreateTeam(
    projectId : String, 
    name : String, 
    description : String, 
    properties : IDictionary<String, Object>
) : TeamFoundationTeam
Parameters
- projectId 
 Type: System.String- Project Uri (scope id) 
- name 
 Type: System.String- Team name 
- description 
 Type: System.String- Team description 
- properties 
 Type: System.Collections.Generic.IDictionary<String, Object>- properties, can be null or empty 
Return Value
Type: Microsoft.TeamFoundation.Client.TeamFoundationTeam
TeamFoundationTeam
.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.