
DM API METHODS AND PROPERTIES 221
GetSize
GetSize
Use this method to get the number items in a list. For example, you can
use GetSize to request the number of available libraries on the DM
Server or the number of properties in a list of properties.
Syntax
PCDGetLoginLibs.GetSize()
PCDNetAliasList.GetSize()
PCDPropertyList.GetSize()
PCDTrusteeList.GetSize()
Returns
Returns a long integer to receive the number of items in the return data
set list. Each of the items is a name-value pair that you can access by
checking for the name and then retrieving the associated value.
Languages such as JavaScript, Visual Basic, and VBScript return this as
a function value.
Example
The Example in PCDGetLoginLibs illustrates how you can use GetSize
in your custom applications.
Related Items
See the following objects:
PCDGetLoginLibs
PCDNetAliasList
PCDPropertyList
PCDTrusteeList
See the following methods:
Execute
GetAt
Kommentare zu diesen Handbüchern