Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Method: QueryType

Purpose

Query type of database plug-in.

Syntax

PRUint32 QueryType(char* aType,PRInt32 *aReturnCode)=0;

Parameters

The method has the following parameters:

aType

The type of CLD (Calendar Lookup Database). 

aReturnCode

NS_OK if successful. Normal processing does not continue if unsuccessful.

Returns

NS_OK on success, non-zero error code on failure.

Description

This function retrieves a string representing the type of CLD the plug-in implements.