Partager via


NumPlaceHolders Method

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

mof
string NumPlaceHolders();

Parameters

None

Name : NumPlaceHolders

Return Value

string

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

Remarks

For more information about placeholder objects, see "Understanding the metaverse and the connector space" in the Microsoft Forefront Identity Manager 2010 (FIM) Help.

Code Example

The example in Methods shows how to use Microsoft Visual Basic Scripting Edition (VBScript) to get the number of 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
WMI Provider Return Strings

Concepts

WMI Provider Reference
Methods