Adds a Property Defintion to the Data Store

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

Syntax

C#
public static int AddPropertyDefinition(
	ProfilePropertyDefinition definition
)
Visual Basic
Public Shared Function AddPropertyDefinition ( 
	definition As ProfilePropertyDefinition
) As Integer

Parameters

definition
Type: DotNetNuke.Entities.Profile..::..ProfilePropertyDefinition
An ProfilePropertyDefinition object

Return Value

The Id of the definition (or if negative the errorcode of the error)

See Also