SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Get parameters which is returned by "out" keyword in SSIS


Get parameters which is returned by "out" keyword in SSIS

Author
Message
rezmes
rezmes
SSC-Enthusiastic
SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)

Group: General Forum Members
Points: 180 Visits: 39
how get parameter which is returned by "out" keyword in c# method by using SSIS?this is my function:



bool Authenticate(string Username, string Password, out string Message,out string AuthenticationToken)



I need the "AuthenticationToken" or "token" as output (not input), in here:

Phil Parkin
Phil Parkin
SSC Guru
SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)SSC Guru (175K reputation)

Group: General Forum Members
Points: 175531 Visits: 23544
rezmes - Tuesday, January 23, 2018 3:11 AM
how get parameter which is returned by "out" keyword in c# method by using SSIS?this is my function:



bool Authenticate(string Username, string Password, out string Message,out string AuthenticationToken)



I need the "AuthenticationToken" or "token" as output (not input), in here:

Looks like you are configuring the 'input' section. Have you tried working with the 'output' section?



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
rezmes
rezmes
SSC-Enthusiastic
SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)

Group: General Forum Members
Points: 180 Visits: 39
Thank you for your reply Phil,
Yes I've already checked 'output' and because the main out put of function is "True or False" (as result of 'bool' function) so in "Web Service Task Editor" (in SSIS) the only out put is 'True/False' and it is introducing the token parameter as an 'input'.

Not sure but it seems there is not any out of the box solution in SSIS to get the 'token' parameter from this function and I think there should be a script solution for extracting the that 'token', But I do not know how.

Is there anyone who can help me to get it?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search