DDRAddIntegerArray
The DDRAddIntegerArray function adds an integer array property to the discovery data record.
HRESULT DDRAddIntegerArray(
char *sName,
long lArray[],
int nArraySize,
DWORD dwFlags
);
[Visual Basic]
Resource.DDRAddIntegerArray( _
ByVal sName As String _
ByVal lArray() As Long _
ByVal dwFlags As Long _
)
Parameters
- sName
Name of the class property. - lArray
Array of integers assigned to the property. - nArraySize[C/C++]
Number of elements in lArray. - dwFlags
Characteristics of the property, such as identifying this property as a key field for comparisons. Enter the following flag or a zero.Flag Description ADDPROP_KEY (Hex 8) Identifies this property as a key field during a comparison of this DDR with class instances in the database. If an instance in the database matches the data of the DDR key properties, the instance is updated; otherwise, a new instance is created.
Return Values
If the function succeeds, the return value is S_OK.
If the DDRNew function has not been called, the return value is S_FALSE.
Requirements
** Windows NT/2000:** Requires Windows NT 4.0 or later.
** Windows 95/98:** Requires Windows 95 or later.
** Version:** Requires SMS 2.0.
** Header:** Declared in SMSRsGen.h.
** Library:** Included as a resource in SMSRsGen.dll (C/C++); SMSRsGenCtl.dll (VB).