Testing an INPUT-OUTPUT or OUTPUT parameter for the Unknown value (?)
For OUTPUT and INPUT-OUTPUT parameters, you can find out whether an output Unknown value (?) is returned by testing if the output object's HasValue property is false or if the object equals null, shown in the previous example.