Compartilhar 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