Интерфейс 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.) |
В начало