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, String, 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,
    	string sApplication,
    	List<string> lstContainerStreamMappings
    )

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

    public:
    void AddContainer(
    	String^ sContainerName,
    	String^ sApplication,
    	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

sApplication
  String
  Text contents of an application EventFlow or StreamSQLText contents of an application EventFlow or StreamSQL

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