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
propertyName
Type: System.StringThe name of the property.
Return Value
Type: System.Int32
The number of profiles.
See Also
Reference
UserProfileConfigManager Class