It looks like you're trying to use Int32
as a generic, which is incorrect. It looks like you think you're specifying the return type of your method call, which you also don't need to do. You've already given a type to the name. Just change your definition to:
StatementRptParamId GetStatementRptParameter(string connectionString,
string customerNumber);
You can then use the field on the class to get your value:
var val = GetStatementRptParameter(someConnectionString, someCustomerNumber);
var id = val.ReportParameterId;