Share via


ProfileSubtypeManager.CountForProfileType method

Gets a count of profile subtypes for the specified ProfileType object.

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

Syntax

'Declaration
Public Function CountForProfileType ( _
    typeID As ProfileType _
) As Integer
'Usage
Dim instance As ProfileSubtypeManager
Dim typeID As ProfileType
Dim returnValue As Integer

returnValue = instance.CountForProfileType(typeID)
public int CountForProfileType(
    ProfileType typeID
)

Parameters

Return value

Type: System.Int32

See also

Reference

ProfileSubtypeManager class

ProfileSubtypeManager members

Microsoft.Office.Server.UserProfiles namespace