Gets a collection of Property Defintions from the Data Store by portal

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

Syntax

C#
public static ProfilePropertyDefinitionCollection GetPropertyDefinitionsByPortal(
	int portalId,
	bool clone
)
Visual Basic
Public Shared Function GetPropertyDefinitionsByPortal ( 
	portalId As Integer,
	clone As Boolean
) As ProfilePropertyDefinitionCollection

Parameters

portalId
Type: System..::..Int32
The id of the Portal
clone
Type: System..::..Boolean
Whether to use a clone object.

Return Value

A ProfilePropertyDefinitionCollection object

See Also