2

I read the example in here.

But it returns the error, how to solve the error?

enter image description here

1
  • 1
    I read the example in here. This is C# example. Whereas you use SSIS. Look there. Commented Jan 17, 2020 at 9:45

1 Answer 1

2

I believe you're missing an import statement at the top of your code.

As mentioned in These Microsoft Docs which show that the method you're calling is present in System.IO and in your linked answer/post you're likely missing the top part of the answer you seem to have copied.

Quote

so add this to the imports section

Import System.IO
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.