PKConstraint Class

Class representing the information for a given primary-key constraint.

Inheritance Hierarchy


Namespace:  Microsoft.SqlServerCe.Management.Scripting.Schema
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)


Public Class PKConstraint _
    Inherits Constraint
Dim instance As PKConstraint
public class PKConstraint : Constraint
public ref class PKConstraint : public Constraint
type PKConstraint =  
        inherit Constraint
public class PKConstraint extends Constraint

The PKConstraint type exposes the following members.


  Name Description
Public property Columns Gets the list of columns participating for a given constraint. (inherited from Constraint)
Public property ConstraintType Gets the type of constraint the Constraint represents. (inherited from Constraint)
Public property Name Gets the constraint name of the specified Constraint object. (inherited from Constraint)
Public property TableName Get the table name for the specified Constraint object.. (inherited from Constraint)



  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)


Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Microsoft.SqlServerCe.Management.Scripting.Schema Namespace