OleDbSchemaGuid.Column_Domain_Usage 字段

定义

返回在目录中定义、依赖于在目录中定义的域并由给定用户拥有的列。Returns the columns defined in the catalog that are dependent on a domain defined in the catalog and owned by a given user.

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

字段值

Guid

注解

Column_Domain_Usage 映射到 OLE DB COLUMN_DOMAIN_USAGE 行集。Column_Domain_Usage maps to the OLE DB COLUMN_DOMAIN_USAGE rowset. 除非另外指定,否则将按以下顺序返回限制列。Unless otherwise specified, restriction columns are returned in the following order.

限制列Restriction column CLR 数据类型CLR data type 说明Description
DOMAIN_CATALOGDOMAIN_CATALOG string 目录名称。Catalog name. 如果提供程序不支持目录,则为 null 值。A null value if the provider does not support catalogs.
DOMAIN_SCHEMADOMAIN_SCHEMA string 非限定的架构名称。Unqualified schema name. 如果提供程序不支持架构,则为 null 值。A null value if the provider does not support schemas.
DOMAIN_NAMEDOMAIN_NAME string 视图名。View name.
COLUMN_NAMECOLUMN_NAME string 列名称。Column name. 此列与 COLUMN_GUID 和 COLUMN_PROPID 列一起构成列 ID。This column, together with the COLUMN_GUID and COLUMN_PROPID columns, forms the column ID. 其中的一个或多个列将为 null 值,具体取决于提供程序使用的 DBID 结构的元素。One or more of these columns will be a null value, depending on which elements of the DBID structure the provider uses. (DBID 是序列化为 COLUMN_DOMAIN_USAGE 行集的 COLUMN_NAME 列的正式结构。 ) (DBID is a formal structure serialized into the COLUMN_NAME column of the COLUMN_DOMAIN_USAGE rowset.)

适用于