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 继承。)

页首