Condividi tramite


Interfaccia IPrimaryKeyConstraint

Represents a SQL Server PRIMARY KEY constraint.

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

'Dichiarazione
Public Interface IPrimaryKeyConstraint _
    Inherits IUniqueConstraintBase, IConstraint, IMetadataObject
'Utilizzo
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

Nel tipo IPrimaryKeyConstraint sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica AssociatedIndex Gets an object that represents the index that implements the constraint. Ereditato da IUniqueConstraintBase.
Proprietà pubblica IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. Ereditato da IConstraint.
Proprietà pubblica Name Gets the name of the metadata object. Ereditato da IMetadataObject.
Proprietà pubblica Parent Gets the ITabular object that is the parent of this object. Ereditato da IConstraint.
Proprietà pubblica Type Gets a ConstraintType value that indicates the constraint type. Ereditato da IConstraint.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. Ereditato da IMetadataObject.

In alto