Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
StreamBaseAdminClient..::AddContainer Method (String, array<Byte>[]()[][], List<(Of <(<'String>)>)>)

Add an application to the given container.
Add an application to the given container.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public void AddContainer(
    	string sContainerName,
    	byte[] application,
    	List<string> lstContainerStreamMappings
    )

    Public Sub AddContainer ( _
    	sContainerName As String, _
    	application As Byte(), _
    	lstContainerStreamMappings As List(Of String) _
    )

    public:
    void AddContainer(
    	String^ sContainerName,
    	array<unsigned char>^ application,
    	List<String^>^ lstContainerStreamMappings
    )

#### Parameters

sContainerName
  String
  the name of the container to which to add thisthe name of the container to which to add this

application
  array<Byte>[]()[][]
  Contents of the application -- text EventFlow or StreamSQL, or binary contents of a .sbar fileContents of the application -- text EventFlow or StreamSQL, or binary contents of a .sbar file

lstContainerStreamMappings
  List<(Of <(<'String>)>)>
  String mappings between container streams. Each member of the list should contain a mapping. For example: newContainer.newStream=oldContainer.oldStreamString mappings between container streams. Each member of the list should contain a mapping. For example: newContainer.newStream=oldContainer.oldStream

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..StreamBaseException | thrown on typecheck and other error
StreamBase.SB..::..StreamBaseException | thrown on typecheck and other error

# See Also

StreamBaseAdminClient Class
AddContainer Overload
StreamBase.SB.Client Namespace