ADO » Parameters » Refresh

The Refresh method updates the Parameter objects in the Parameters Collection with the latest information from the provider.

Before calling Refresh for a Command object, you need to set the ActiveConnection property to an active Connection object, set the CommandText property to a command that will be recognized by the provider, and set the CommandType property to the adCmdStoredProc constant.