You can -- if you can identify the correct pinholes.
The problem is that many Dell models used a non standard plug (nearly square with a tag for holding it) and presumably the Targus has the standard round types.
I have done the same operation when I was unable to find a Dell PSU to replace one which had a broken plug. It was not that hard to figure our which pinhole on the board did what because the Dell PSU had a diagram showing how the pins in the plug were wired. As I recall there are three but only two are wired.
It's never difficult to identify the earth (negative) pinhole if you have a multimeter.
That should leave only two or three other pinholes (one of which is to secure the body of the socket).
Sorry if this is vague but I did this a long time ago.