How to get Unique columns and Primary key constraints using SqlConnection.GetSchema()?

Jul 14 2009 1:46 AM
hi
I have some code of ADO.net to dynamically detect the database schema, what I need is how to get Unique columns constraints and Primary key constraints using SqlConnection GetSchema() method.
thanks