BBjAPI::removeNamespace

Description

In BBj 17.0 and higher, this method removes a BBjNamespace.

Syntax

Return Value

Method

void

removeNamespace(string name)

Parameters

Variable

Description

name

The full name of an existing BBjNamespace object.

Return Value

None.

Remarks

The getGlobalNamespace and getGroupNamespace namespaces cannot be removed.

Example

rem ' removeNamespace
ns$ = "ns"
print "ns$ = ",ns$
ns! = bbjapi().getNewNamespace(ns$)
ns$ = ns!.getName()
print "bbjapi().getNewNamespace(ns$)"
print ns$," = ",ns!
print "bbjapi().getExistingNamespace(ns$): "
print bbjapi().getExistingNamespace(ns$)
print "bbjapi().removeNamespace(ns$)"
bbjapi().removeNamespace(ns$)
print "bbjapi().getExistingNamespace(ns$) should fail: "
print bbjapi().getExistingNamespace(ns$)

See Also

BBjAPI

BBjNamespace

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.