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
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- Request context. 
- artifactUri 
 Type: System.Uri- Artifact Uri. 
- securityToken 
 Type: System.String- Artifact security token. 
- name 
 Type: System.String- Container name. 
- description 
 Type: System.String- Container description. 
- options 
 Type: Microsoft.VisualStudio.Services.FileContainer.ContainerOptions- Container options. 
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
- 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.