Share via


IConstraint Interface

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

The IConstraint type exposes the following members.

Properties

  Name Description
Public property IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Parent Gets the ITabular object that is the parent of this object.
Public property Type Gets a ConstraintType value that indicates the constraint type.

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top