Click or drag to resize
Askia

SurveyFactoryGetSurveyByPortalId Method (IContext, Int32)

Get an instance of an existing survey given its Portal id

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public static ISurvey GetSurveyByPortalId(
	IContext context,
	int id
)

Parameters

context
Type: AskiaCoreIContext
Context used to access the survey
id
Type: SystemInt32
Portal id of the survey to access

Return Value

Type: ISurvey
Return the instance of survey or null if not found
See Also