Freigeben über


IConstraint-Schnittstelle

Represents tabular object constraints.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IConstraint _
    Inherits IMetadataObject
'Usage
Dim instance As IConstraint
public interface IConstraint : IMetadataObject
public interface class IConstraint : IMetadataObject
type IConstraint =  
    interface
        interface IMetadataObject
    end
public interface IConstraint extends IMetadataObject

Der IConstraint-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user.
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft Parent Gets the ITabular object that is the parent of this object.
Öffentliche Eigenschaft Type Gets a ConstraintType value that indicates the constraint type.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Geerbt von IMetadataObject.)

Zum Anfang