Hello Dave,
Why not use the connection.GetSchema function to retrieve the procedure and
its schema information. Mark gives a sample codes in his blog,
http://blogs.msdn.com/mab/archive/20...schema-definit
ions-of-stored-procedures-in-net.aspx
By the way, what kind of schema you are expecting? Do you mean you also
need to get the desired parameters information for each stored procedure?
If that is the case, we need to use the SqlCommandBuilder's
DeriveParameters property to retrieve that.
http://msdn.microsoft.com/en-us/libr...sqlcommandbuil
der.deriveparameters.aspx
Hope this helps! Have a nice weekend!
Best regards,
Colbert Zhou
Microsoft Newsgroup Support Team