Export (0) Print
Expand All

IUniqueConstraint Interface

Represents a SQL Server UNIQUE constraint.

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

public interface IUniqueConstraint : IUniqueConstraintBase, 
	IConstraint, IMetadataObject

The IUniqueConstraint type exposes the following members.

Public propertyAssociatedIndexGets an object that represents the index that implements the constraint. (Inherited from IUniqueConstraintBase.)
Public propertyIsSystemNamedGets a value that indicates whether the constraint is named by the system or by the user. (Inherited from IConstraint.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyParentGets the ITabular object that is the parent of this object. (Inherited from IConstraint.)
Public propertyTypeGets a ConstraintType value that indicates the constraint type. (Inherited from IConstraint.)

Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft