Gets a named Container from the Channel.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public Container GetContainer(
	string containerName
)
Visual Basic (Declaration)
Public Function GetContainer ( _
	containerName As String _
) As Container
Visual C++
public:
Container^ GetContainer(
	String^ containerName
)

Parameters

containerName
Type: System..::.String
The name of the Container to retrieve.

Return Value

The Container with the specified name.

Exceptions

ExceptionCondition
IBM.CTG..::.ContainerNotFoundExceptionA Container with the specified name was not found in the Channel.
System..::.ObjectDisposedExceptionThe Channel has been disposed.

See Also