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
type
Type: Microsoft.Office.Server.UserProfiles.ProfileTypeOne of the ProfileType values. Possible values are User, Group, and Organization.
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. |