Gets a Property Defintion from the Data Store by id

Namespace: DotNetNuke.Entities.Profile
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static ProfilePropertyDefinition GetPropertyDefinition(
	int definitionId,
	int portalId
)
Visual Basic
Public Shared Function GetPropertyDefinition ( 
	definitionId As Integer,
	portalId As Integer
) As ProfilePropertyDefinition

Parameters

definitionId
Type: System..::..Int32
The id of the ProfilePropertyDefinition object to retrieve
portalId
Type: System..::..Int32
Portal Id.

Return Value

The ProfilePropertyDefinition object

See Also