Share via


NumTotalConnectors Method

Returns the number of connector objects and explicit connector objects. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.

mof
string NumTotalConnectors();

Parameters

None

Name : NumTotalConnectors

Return Value

string

Returns a string that contains either the number of connector objects and explicit connector objects or one of the values that are listed in WMI Provider Return Strings.

Remarks

The value of this method is the sum of connector objects and explicit connector objects, as shown in the following equation:

NumTotalConnectors Method = NumConnectors Method + NumExplicitConnectors Method

Code Example

The example in Methods shows how to use Microsoft Visual Basic Scripting Edition (VBScript) to get the number of connector and explicit connector objects from all the management agents that are installed on the server.

Requirements

Product

Forefront Identity Manager Synchronization Service 2010

MOF

Mmswmi.mof

See Also

Reference

MIIS_ManagementAgent Class
NumConnectors Method
NumExplicitConnectors Method
WMI Provider Return Strings

Concepts

WMI Provider Reference
Methods