共用方式為


IndexKeyType 列舉

The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration IndexKeyType
'用途
Dim instance As IndexKeyType
public enum IndexKeyType
public enum class IndexKeyType
type IndexKeyType
public enum IndexKeyType

成員

成員名稱 說明
DriPrimaryKey The index implements a SQL Server PRIMARY KEY constraint.
DriUniqueKey The index implements a UNIQUE constraint on a table not constrained by a primary key. The index is a candidate key.
None The index is based on a column with no key constraint.

備註

The IndexKeyType enumeration class is served by the IndexKeyType property.

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間