ISurveyAddToServer Method |
Add the management of the current
survey in the specified server.
It will not save the change in the database
unless you explicitly call the
Save method.
Namespace:
AskiaPortalCmn
Assembly:
AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax IReturnValue AddToServer(
int serverId,
Nullable<int> surveyIdInServer = null
)
Function AddToServer (
serverId As Integer,
Optional surveyIdInServer As Nullable(Of Integer) = Nothing
) As IReturnValue
IReturnValue^ AddToServer(
int serverId,
Nullable<int> surveyIdInServer = nullptr
)
Parameters
- serverId
- Type: SystemInt32
Id of the server where to add the survey. - surveyIdInServer (Optional)
- Type: SystemNullableInt32
Id of the survey in the server.
Return Value
Type:
IReturnValueReturns successful value if the user in the context have enough right to edit the survey.
See Also