This documentation is archived and is not being maintained.
.NET Framework 2.0
Represents a restriction on a set of columns in which all values must be unique.
The following tables list the members exposed by the UniqueConstraint type.
(see also Protected Properties )
|Columns||Gets the array of columns that this constraint affects.|
|ConstraintName||The name of a constraint in the ConstraintCollection.(Inherited from Constraint.)|
|ExtendedProperties||Gets the collection of user-defined constraint properties.(Inherited from Constraint.)|
|IsPrimaryKey||Gets a value indicating whether or not the constraint is on a primary key.|
|Table||Overridden. Gets the table to which this constraint belongs.|
(see also Protected Methods )
|GetHashCode||Overridden. Gets the hash code of this instance of the UniqueConstraint object.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|ToString||Gets the ConstraintName, if there is one, as a string. (Inherited from Constraint.)|
|CheckStateForProperty||(Inherited from Constraint.)|
|Finalize||Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SetDataSet||Sets the constraint's DataSet. (Inherited from Constraint.)|