Click or drag to resize

ProfileGetProfileByName Method

Returns profile by its name.

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

Parameters

name
Type: SystemString
Profile name.

Return Value

Type: Profile
Report profile or null (Nothing in Visual Basic) if no profile exist with the given name.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
ArgumentExceptionname is an empty string.
See Also