This documentation is archived and is not being maintained.
.NET Framework 3.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)|