ARSetDSOPoolToXML
Description
Saves information about a DSO pool in an XML document. For more information about DSO mapping, see Creating-distributed-mappings.
Privileges
All users.
Synopsis
#include "arextern.h"
int ARSetDSOPoolToXML(
ARControlStruct *control,
ARXMLOutputDoc *xmlOutputDoc,
ARBoolean xmlDocHdrFtrFlag,
ARNameType poolName,
unsigned int *enabled,
unsigned int *defaultPool,
long *threadCount,
char **connection,
unsigned int *polling,
unsigned int *pollingInterval,
ARAccessNameType owner,
ARAccessNameType lastModifiedBy,
ARTimestamp *modifiedDate,
char *helpText,
char *changeHistory,
ARPropList *objPropList,
unsigned int *arDocVersion,
ARStatusList *status)
Input arguments
control
The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user, sessionId, and server fields are required.
xmlOutputDoc
The XML document output source.
xmlDocHdrFtrFlag
The header and footer flag for the XML document output source. If there is only one object in the XML document, set this value to (0).
poolName
The name of the DSO pool. Each pool name must be unique.
enabled
A flag that specifies whether the DSO pool is disabled (0) or enabled (1). Specify NULL for this parameter if you do not want to retrieve this value.
defaultPool
The code that indicates whether there is a default pool.
threadcount
The thread count of the DSO pool.
connection
This parameter is reserved for future use.
polling
Indicates whether this pool polls the pending queue for pending items assigned to it. Pools are signaled, by default.
pollingInterval
The polling interval (if the pool is a polling pool).
owner
The owner for the DSO pool.
lastModifiedBy
The user who last modified the DSO pool.
modifiedDate
The date that the DSO pool was last modified.
helpText
The help text associated with the DSO pool. Specify NULL for this parameter if you do not want to retrieve the help text (which is useful if you are calling this function to verify whether an instance of this object exists).
changeHistory
The change history of the DSO pool.
objPropList
The properties of the DSO pool.
arDocVersion
The XML document version.
Return values
status
A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error-checking.