getCountOfRolesForUserAgent  getCountOfUserAgents

Appendix B: Using the Search Services

getCountOfSubChannels

Description

Gets number of subchannels for a given channel. Resets to the beginning of the list of subchannels so getNextChannelName can be used to iterate through the list of subchannels.

Syntax

public int getCountOfSubChannels(String user,
	String channel) throws RemoteException, SearchException

Parameters

user – name of a user

channel – name of channel

Return value

Returns the number of channels if successful; 0 if failure.





Copyright © 2004. Sybase Inc. All rights reserved. getCountOfUserAgents

View this book as PDF