BBjEnterpriseNamespace::clear

Description

In BBj 13.0 and higher, this method removes all elements from the BBjEnterpriseNamespace.

Syntax

Return Value

Method

void

clear()

Parameters

None.

Return Value

None.

Remarks

None_ERROR_63.

Example

rem host and authentication information
host$="server"
port=2552
user$="user"
password$="password"

namespace! = bbjapi().getBBjEnterpriseNamespace(host$,port,"test",user$,password$)
namespace!.setValue("aKey","bValue")
namespace!.setValue("bKey","bValue")

keys! = namespace!.getKeys()
print keys!.size()

namespace!.clear()
keys! = namespace!.getKeys()
print keys!.size()

See Also

BBjAPI

BBjEnterpriseNamespace

BBjNamespace

Object Variables

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