Partager via


NumDisconnectors Method

Returns the number of disconnector objects. The return value does not include explicit disconnector or filtered disconnector objects. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.

mof
string NumDisconnectors();

Parameters

None

Name : NumDisconnectors

Return Value

string

Returns a string that contains either the number of disconnector objects 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 disconnector 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
WMI Provider Return Strings
CSEntry

Concepts

WMI Provider Reference
Methods