OleDbSchemaGuid.Primary_Keys Field

Definition

Returns the primary key columns defined in the catalog by a given user.

public: static initonly Guid Primary_Keys;
public static readonly Guid Primary_Keys;
 staticval mutable Primary_Keys : Guid
Public Shared ReadOnly Primary_Keys As Guid 

Field Value

Remarks

Primary_Keys maps to the OLE DB PRIMARY_KEYS rowset. Unless otherwise specified, restriction columns are returned in the following order.

Restriction column CLR data type Description
TABLE_CATALOG string Catalog name in which the table is defined. A null value if the provider does not support catalogs.
TABLE_SCHEMA string Unqualified schema name in which the table is defined. A null value if the provider does not support schemas.
TABLE_NAME string Table name.

Applies to