PKConstraint Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServerCe.Management.Scripting.Schema.Constraint
    Microsoft.SqlServerCe.Management.Scripting.Schema.PKConstraint

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

Syntax

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

The PKConstraint type exposes the following members.

Properties

  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)

Top

Methods

  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)

Top

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

Reference

Microsoft.SqlServerCe.Management.Scripting.Schema Namespace