NumTotalConnectors Method of the MIIS_ManagementAgent Class
The NumTotalConnectors method returns the number of connector and explicit connector objects. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.
Syntax
string NumTotalConnectors();
Parameters
This method has no parameters.
Return Value
Returns a string that contains either the number of connector and explicit connector objects or one of the values listed in Return Strings.
Remarks
The value of this method is the sum of connector and explicit connector objects as shown in the following equation:
MIIS_ManagementAgent.NumTotalConnectors() = MIIS_ManagementAgent.NumConnectors() + MIIS_ManagementAgent.NumExplicitConnectors()
Examples
The example given in the Methods topic shows how you can use Visual Basic Scripting Edition (VBScript) to get the number of connector and explicit connector objects from all the management agents installed on the server.
Requirements
Product | ILM 2007 FP1 |
MOF | Mmswmi.mof |
See Also
MIIS_ManagementAgent
MIIS_ManagementAgent.NumConnectors
MIIS_ManagementAgent.NumExplicitConnectors
Return Strings
Send comments about this topic to Microsoft
Build date: 2/16/2009