共用方式為


Database.EnumCandidateKeys Method

Definition

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

Returns

Applies to