次の方法で共有


IPrimaryKeyConstraint インターフェイス

SQL Server の PRIMARY KEY 制約を表します。

名前空間:  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 制約を実装するインデックスを表すオブジェクトを取得します。 (IUniqueConstraintBase から継承されています。)
パブリック プロパティ IsSystemNamed 制約名がシステムによって設定されるか、ユーザーによって設定されるかを示す値を取得します。 (IConstraint から継承されています。)
パブリック プロパティ Name メタデータ オブジェクトの名前を取得します。 (IMetadataObject から継承されています。)
パブリック プロパティ Parent このオブジェクトの親である ITabular オブジェクトを取得します。 (IConstraint から継承されています。)
パブリック プロパティ Type 制約の種類を示す ConstraintType 値を取得します。 (IConstraint から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Accept< (Of < <' (T> ) > > ) 指定した IMetadataObjectVisitor<(Of <(<'T>)>)> オブジェクトからのアクセスを許可します。 (IMetadataObject から継承されています。)

先頭に戻る