Share via


DbSyncColumnDescription.IsPrimaryKey Property

Gets or sets whether this column is part of the primary key for the table.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property IsPrimaryKey As Boolean
    Get
    Set
'Usage
Dim instance As DbSyncColumnDescription
Dim value As Boolean

value = instance.IsPrimaryKey

instance.IsPrimaryKey = value
public bool IsPrimaryKey { get; set; }
public:
property bool IsPrimaryKey {
    bool get ();
    void set (bool value);
}
member IsPrimaryKey : bool with get, set
function get IsPrimaryKey () : boolean
function set IsPrimaryKey (value : boolean)

Property Value

Type: System.Boolean
true if this column is part of the primary key for the table; otherwise false.

See Also

Reference

DbSyncColumnDescription Class

Microsoft.Synchronization.Data Namespace