Share via


TrackingKeyType 枚举

指定用于标识跟踪数据的键的类型。

命名空间:  System.Data.SqlServerCe
程序集:  System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)

语法

声明
Public Enumeration TrackingKeyType
用法
Dim instance As TrackingKeyType
public enum TrackingKeyType
public enum class TrackingKeyType
type TrackingKeyType
public enum TrackingKeyType

成员

成员名称 说明
None 此值保留供跟踪基础结构使用。请勿在代码中使用它。
PrimaryKey 通过使用在该表上定义的主键来标识各行。
Guid 通过使用在该表上定义的全局唯一标识符列来标识各行。这是一个数据类型为 uniqueidentifier 的列,是使用 ROWGUIDCOL 属性定义的。
Max 此值保留供跟踪基础结构使用。请勿在代码中使用它。

注释

跟踪系统必须唯一标识跟踪数据。TrackingKeyType 值指定是使用所跟踪行的主键还是全局唯一标识符列来唯一标识每行。

请参阅

参考

System.Data.SqlServerCe 命名空间