Share via


ProfilePropertyManager.GetProfileTypeProperties method

Retrieves the ProfileTypePropertyManager that represents all ProfileTypeProperty objects for the specified profile type.

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

Syntax

'Declaration
Public Function GetProfileTypeProperties ( _
    type As ProfileType _
) As ProfileTypePropertyManager
'Usage
Dim instance As ProfilePropertyManager
Dim type As ProfileType
Dim returnValue As ProfileTypePropertyManager

returnValue = instance.GetProfileTypeProperties(type)
public ProfileTypePropertyManager GetProfileTypeProperties(
    ProfileType type
)

Parameters

Return value

Type: Microsoft.Office.Server.UserProfiles.ProfileTypePropertyManager
The ProfileTypePropertyManager that represents all ProfileTypeProperty objects for the specified profile type.

Exceptions

Exception Condition
ArgumentException

type is not one of the values of ProfileType.

See also

Reference

ProfilePropertyManager class

ProfilePropertyManager members

Microsoft.Office.Server.UserProfiles namespace