Поделиться через


Интерфейс IPrimaryKeyConstraint

Represents a SQL Server PRIMARY KEY constraint.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IPrimaryKeyConstraint _
    Inherits IUniqueConstraintBase, IConstraint, IMetadataObject
'Применение
Dim instance As IPrimaryKeyConstraint
public interface IPrimaryKeyConstraint : IUniqueConstraintBase, 
    IConstraint, IMetadataObject
public interface class IPrimaryKeyConstraint : IUniqueConstraintBase, 
    IConstraint, IMetadataObject
type IPrimaryKeyConstraint =  
    interface
        interface IUniqueConstraintBase
        interface IConstraint
        interface IMetadataObject
    end
public interface IPrimaryKeyConstraint extends IUniqueConstraintBase, IConstraint, IMetadataObject

Тип IPrimaryKeyConstraint обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство AssociatedIndex Gets an object that represents the index that implements the constraint. (Производный от IUniqueConstraintBase.)
Открытое свойство IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (Производный от IConstraint.)
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство Parent Gets the ITabular object that is the parent of this object. (Производный от IConstraint.)
Открытое свойство Type Gets a ConstraintType value that indicates the constraint type. (Производный от IConstraint.)

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)

В начало