OleDbSchemaGuid.Table_Constraints Field
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.
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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.