Database.EnumCandidateKeys Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The EnumCandidateKeys method returns a QueryResults object that enumerates the user tables of a Microsoft® SQL Server™ 2000 database and the constraints on those tables that could define primary keys.
public System.Data.DataTable EnumCandidateKeys ();
member this.EnumCandidateKeys : unit -> System.Data.DataTable
Public Function EnumCandidateKeys () As DataTable