Share via


UserProfileConfigManager.CountProfilesWithProperty method

Gets the number of profiles with a particular property.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function CountProfilesWithProperty ( _
    propertyName As String _
) As Integer
'Usage
Dim instance As UserProfileConfigManager
Dim propertyName As String
Dim returnValue As Integer

returnValue = instance.CountProfilesWithProperty(propertyName)
public int CountProfilesWithProperty(
    string propertyName
)

Parameters

Return value

Type: System.Int32
The number of profiles.

See also

Reference

UserProfileConfigManager class

UserProfileConfigManager members

Microsoft.Office.Server.UserProfiles namespace