CMDBCreateMultipleAttributes function
The CMDBCreateMultipleAttributes
function creates multiple new attributes with the specified names for the specified class.
Synopsis
#include "ar.h"
#include "arextern.h"
#include "cmdb.h"
int CMDBCreateMultipleAttribute(
ARControlStruct *control,
CMDBClassNameId *classNameID,
ARNameList *attributeNameList,
ARNameList *attributeIdList,
ARUnsignedIntList *dataTypeList,
ARInternalIdList *arsubclassesIdList,
ARUnsignedIntList *entryModeList,
CMDBAttributeLimitList *attributeLimitList,
ARValueList *defaultValueList,
ARPropListList *characListList,
ARPropListList *customCharacListList,
ARStatusList *status)
Input arguments
Input argument |
Description |
---|---|
|
The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed. |
|
The name of the class for which you want to create the attributes. The |
|
The names of attributes to create. The names of all attributes must be unique within the specified class and within its superclasses and subclasses. |
|
The list of attribute IDs for the attributes being created. |
|
The list of data types for the attributes being created. |
|
The BMC Remedy AR System subclass IDs of the attributes being created. |
|
The entry mode for the attributes. Entry modes not listed are for BMC Software internal use.
|
|
The list of value limits for the attributes being created and other properties specific to the attributes' types. See the |
|
The list of values to apply if a user submits an entry with no value for the attributes being created. The default value can be up to 255 bytes and must be of the same data type as the attribute. If you do not want to specify a default value, specify NULL for this parameter. |
|
A list of characteristics for each attribute. Characteristics not listed are not applicable for creating attributes.
|
|
A list of user-defined custom characteristics list for each attribute. The value can be set to any user-defined characteristic but must be between 300000 (
|
Return value
Return value |
Description |
---|---|
|
A list of zero or more notes, warnings, or errors generated from a call of this function. |
Comments