dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDataTable Class / PrimaryKey Property

In This Topic
    PrimaryKey Property
    In This Topic
    Gets or sets an array of columns that function as primary keys for the data table.
    Syntax
    'Declaration
     
    Public Shadows Property PrimaryKey As DataColumn()
    public new DataColumn[] PrimaryKey {get; set;}

    Property Value

    An array of System.Data.DataColumn objects.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also