OleDbSchemaGuid.Indexes 字段

返回在目录中定义的由给定用户拥有的索引。

**命名空间:**System.Data.OleDb
**程序集:**System.Data(在 system.data.dll 中)

语法

声明
Public Shared ReadOnly Indexes As Guid
用法
Dim value As Guid

value = OleDbSchemaGuid.Indexes
public static readonly Guid Indexes
public:
static initonly Guid Indexes
public static final Guid Indexes
public static final var Indexes : Guid

备注

Indexes 映射到 OLE DB INDEXES 行集合。除非另外指定,否则将按下列顺序返回限制列。

限制列

CLR 数据类型

说明

TABLE_CATALOG

string

目录名称。如果提供程序不支持目录,则为空值。

TABLE_SCHEMA

string

非限定的架构名称。如果提供程序不支持架构,则为空值。

INDEX_NAME

string

索引名。

TYPE

UInt16 (Int32)

索引的类型。以下之一:

DBPROPVAL_IT_BTREE-该索引是 B+-树。

DBPROPVAL_IT_HASH-该索引是使用例如线性或可扩展哈希算法的哈希文件。

DBPROPVAL_IT_CONTENT-该索引是内容索引。

DBPROPVAL_IT_OTHER-该索引是一些其他类型的索引。

TABLE_NAME

string

表名称。

平台

Windows 98、Windows 2000 SP4、Windows Millennium Edition、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

版本信息

.NET Framework

受以下版本支持:2.0、1.1、1.0

请参见

参考

OleDbSchemaGuid 类
OleDbSchemaGuid 成员
System.Data.OleDb 命名空间