다음을 통해 공유


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