UserProfileConfigManager.CountProfilesWithProperty Method

Gets the number of profiles with a particular property.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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