NumCSObjects Method of the MIIS_ManagementAgent Class
The NumCSObjects property returns the total number of connector, disconnector, and placeholder objects in this management agent's connector space. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
This method has no parameters.
Returns either a number or a string. If it returns a number, this number indicates the total number of connector, disconnector, and placeholder objects in this management agent's connector space. If it returns a string, the string will contain one of the values listed in WMI Provider Return Strings.
The return value is the sum of the total connector objects, the total disconnector objects, and the total placeholder objects, as shown in the following equation:
The example given in the Methods topic shows you how to use Visual Basic Scripting Edition (VBScript) to get the number of objects in the connector, disconnector, and placeholder objects from all the management agents installed on the server.
|Product||ILM 2007 FP1|
Build date: 2/16/2009