Share via


NumConnectors Method

Returns the number of connector objects that are under this management agent. The return value does not include 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 NumConnectors();

Parameters

None

Name : NumConnectors

Return Value

string

Returns a string that contains either the number of connector objects that are under this management agent or one of the values that are listed in WMI Provider Return Strings.

Example

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

Requirements

Product

Forefront Identity Manager Synchronization Service 2010

MOF

Mmswmi.mof

See Also

Reference

MIIS_ManagementAgent Class
WMI Provider Return Strings

Concepts

WMI Provider Reference
Methods