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
<XmlAttributeAttribute("pk")> _
Public Property IsPrimaryKey As Boolean
'Usage
Dim instance As DbSyncColumnDescription
Dim value As Boolean

value = instance.IsPrimaryKey

instance.IsPrimaryKey = value
[XmlAttributeAttribute("pk")] 
public bool IsPrimaryKey { get; set; }
[XmlAttributeAttribute(L"pk")] 
public:
property bool IsPrimaryKey {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_IsPrimaryKey ()

/** @property */
public void set_IsPrimaryKey (boolean value)
public function get IsPrimaryKey () : boolean

public function set IsPrimaryKey (value : boolean)

Property Value

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

See Also

Reference

DbSyncColumnDescription Class
DbSyncColumnDescription Members
Microsoft.Synchronization.Data Namespace