AuthoriseAllKeywords

To authorize all the keywords in a cabinet .

Public Function AuthoriseAllKeywords() As Long

 

Parameters

None.

 

Description

This function call is used to authorize all the keywords present in a cabinet.

 

Return value

Name

Description

 1

In case of success

-3

Cabinet not connected

-2

Invalid operation in read only cabinet

 

Example

Dim gpdb         As new pandb,pdbcls

Dim glRetval     As Long

 ‘call connecttopdb  before using it

glRetval = gPDb.AuthoriseAllKeywords()

If glRetval <> 1 Then

        Msgbox “ error in authorizing all keywords “

Else

        Msgbox “All  Keywords successfully authorized.”

End If