แก้ไข

แชร์ผ่าน


OleDbSchemaGuid.Table_Constraints Field

Definition

Returns the table constraints defined in the catalog that is owned by a given user.

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

Field Value

Remarks

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

Restriction column CLR data type Description
CONSTRAINT_CATALOG string Catalog name. A null value if the provider does not support catalogs.
CONSTRAINT_SCHEMA string Unqualified schema name. A null value if the provider does not support schemas.
CONSTRAINT_NAME string Constraint name.
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.
CONSTRAINT_TYPE string Constraint type. One of the following: UNIQUE, PRIMARY KEY, FOREIGN KEY, or CHECK.

Applies to