| 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
)
Public Shared Function GetSurveyByPortalId (
context As IContext,
id As Integer
) As ISurvey
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:
ISurveyReturn the instance of survey or null if not found
See Also