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