Partager via


NumCSObjects Method

Returns the total number of connector, disconnector, and placeholder objects that are in this management agent's connector space. To use this method, you must be logged on as a member of the MIISBrowse, MIISOperators, or MIISAdmins security group.

mof
string NumCSObjects();

Parameters

None

Name : NumCSObjects

Return Value

string

Returns either a number or a string. If it returns a number, this number indicates the total number of connector, disconnector, and placeholder objects that are in this management agent's connector space. If it returns a string, the string contains one of the values that are listed in WMI Provider 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:

NumCSObjects Method = NumTotalConnectors Method + NumTotalDisconnectors Method + NumPlaceHolders Method

Code Example

The example in Methods shows how to use Microsoft Visual Basic Scripting Edition (VBScript) to get the number of objects that are in the connector, disconnector, and placeholder 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
NumPlaceHolders Method
NumTotalConnectors Method
NumTotalDisconnectors Method
WMI Provider Return Strings

Concepts

WMI Provider Reference
Methods