Microsoft Identity Integration Server 2003 Developer Reference

NumCSObjects Method of the MIIS_ManagementAgent Class

The NumCSObjects property returns the total number of connector, disconnector, and placeholder objects in this management agent. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
string NumCSObjects();

Parameters

This method has no parameters.

Return Values

Returns a string that contains either the total number of connector, disconnector, and placeholder objects in this management agent or one of the values listed in Return Strings.

Remarks

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:

MIIS_ManagementAgent.NumCSObjects() = MIIS_ManagementAgent.NumTotalConnectors() + MIIS_ManagementAgent.NumTotalDisconnectors() + MIIS_ManagementAgent.NumPlaceHolders()

Example Code

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.

Requirements

Server: Requires Microsoft Identity Integration Server 2003.
Header: Declared in mmswmi.mof.


See Also

MIIS_ManagementAgent, MIIS_ManagementAgent.NumPlaceHolders, MIIS_ManagementAgent.NumTotalConnectors, MIIS_ManagementAgent.NumTotalDisconnectors