Share via


TeamFoundationFileContainerService.CreateContainer Method

Creates a new container.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function CreateContainer ( _
    requestContext As TeamFoundationRequestContext, _
    artifactUri As Uri, _
    securityToken As String, _
    name As String, _
    description As String, _
    options As ContainerOptions _
) As Long
public long CreateContainer(
    TeamFoundationRequestContext requestContext,
    Uri artifactUri,
    string securityToken,
    string name,
    string description,
    ContainerOptions options
)
public:
long long CreateContainer(
    TeamFoundationRequestContext^ requestContext, 
    Uri^ artifactUri, 
    String^ securityToken, 
    String^ name, 
    String^ description, 
    ContainerOptions options
)
member CreateContainer : 
        requestContext:TeamFoundationRequestContext * 
        artifactUri:Uri * 
        securityToken:string * 
        name:string * 
        description:string * 
        options:ContainerOptions -> int64
public function CreateContainer(
    requestContext : TeamFoundationRequestContext, 
    artifactUri : Uri, 
    securityToken : String, 
    name : String, 
    description : String, 
    options : ContainerOptions
) : long

Parameters

Return Value

Type: System.Int64

Remarks

There is no permission checking for this method because it is only exposed at the server.

.NET Framework Security

See Also

Reference

TeamFoundationFileContainerService Class

Microsoft.TeamFoundation.Framework.Server Namespace