Click or drag to resize

ProfileGetProfileByReference Method

Returns profile by its reference.

Namespace:  Dynamicweb.Analytics.Profiles
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static Profile GetProfileByReference(
	string reference
)

Parameters

reference
Type: SystemString
Profile reference.

Return Value

Type: Profile
Report profile or null (Nothing in Visual Basic) if no profile exists with the given reference.
Exceptions
ExceptionCondition
ArgumentNullExceptionreference is null.
ArgumentExceptionreference is an empty string.
See Also